Git - pull 拉取并合并

99 阅读1分钟

git pull 从远程仓库拉取内容到HEAD所在分支,并进行代码合并,因此可能会发生冲突,需要解决冲突后提交合并

git pull 格式参考

git pull = git fetch + git merge

git pull [<options>] [<repository> [<refspec>…​]]