1.同步仓库代码
git pull
2.查看当前状态
git status
3.添加到本地git缓存区
git add .
git add 文件名1 文件名2 ...
4.提交代码
git commit -m "提交代码"
git commit 文件名 -m "提交代码备注"
5.推送到远程仓库
git push
git push <远程主机名> <远程分支名>
1.同步仓库代码
git pull
2.查看当前状态
git status
3.添加到本地git缓存区
git add .
git add 文件名1 文件名2 ...
4.提交代码
git commit -m "提交代码"
git commit 文件名 -m "提交代码备注"
5.推送到远程仓库
git push
git push <远程主机名> <远程分支名>