实验室搬砖合作项目的时候git命令总是忘记哇哇哇。多学习,多记笔记,嗯嗯
今日笔记: git pull
Description: Incorporates changes from a remote repository into the current branch. More precisely, git pull runs git fetch with the given parameters and calls git merge to merge the retrieved branch heads into the current branch.
所以说如果想更新本地分支的代码命令如下:
git pull origin <remote branch>