多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## git fetch(Download objects and refs(引用) from another repository) ``` git fetch origin master:master git fetch <远程主机名> <分支名> ``` ## pull = fetch + merge ``` git pull origin master git pull <远程主机名> <远程分支名>:<本地分支名> ``` ## push(Update remote refs along with associated objects) ``` git push origin master:master git push <远程主机名> <本地分支名>:<远程分支名> ``` **** ## 添加文件到暂存区 ``` git add filename ``` > 添加所有修改的文件 使用 `git add . ` ## 提交到本地版本库“描述提交的内容 ``` git commit -m "备注" ``` **** ### 不小心提交了内容需要修改备注怎么办? ``` git commit --amend -m "这才是本次提交的主要内容备注" ```