0. git statusOn branch masterYour branch and 'origin/master' have diverged,and have 1 and 3 different commits each, respectively. (use "git pull" to merge the remote branch into yours) 这是分支产生了分叉现象(就是你的分支和服务器的对应分支有共同基点,然后向不同方向发展) 1. git pull 它包括
在git操作中,我们经常会用到fetch, merge, pull和push等命令,以下是一些我们需要注意的地方. 给大家准备了参考资料: 1. Whatʼs a Fast Forward Merge?:https://sandofsky.com/images/fast_forward.pdf 2. Understanding the Git Workflow:https://sandofsky.com/blog/git-workflow.html 3. Understanding Git: M