git合并为最新代码

第一次clone完项目之后

import项目

之后会有人提交项目到git代码仓库,所以自己的代码会出现落后

需要在本地代码位置合并代码为最新代码

git add .
git commit -m"1225"
git fetch origin master
git merge origin/master

猜你喜欢

转载自blog.csdn.net/qq_33835009/article/details/85249008