git拉取提交代码前不能像svn一样对比代码,那么怎么避免代码冲突呢?
git stash git pull --rebase git stash pop # 解决冲突 git add conflict_files git commit -m "Today is a good day." git push origin master