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 push 文件到仓库时出现了一下问题: ! [rejected] master -> master (fetch first)error: failed to push some refs to 'git@github.com:yaogengzhu/ajax.git'hint: Updates were rejected because the remote contains work that you dohint: not have locally. This is u…