在使用git的过程中经常需要使用到git pull命令,在更新远端代码的同时如果与本地代码产生冲突了, 那么冲突的文件中就出现了需要手动合并的部分,而git pull --rebase不同的地方则是当有这些冲突存在时, git帮我们自动创建了一个新的分支,并且git告诉你接下来你要在这个新的分支上处理这个冲突, 此时执行git status命令后可以看到首要的提示是这样的: rebase in progress; onto 24f42c6You are currently rebasing br
思路: 先用git status 查找出哪些文件被修改过了,然后 只git commit odin/code/pom.xml 1. $ git status (查看当前更改的代码) On branch masterYour branch is up to date with 'origin/master'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: od