Skip to content

Commit

Permalink
继续理解 rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
litterbear committed Mar 11, 2016
1 parent b7bebe1 commit 4e7eb72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code_to_copy/backend/sa/version_management.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ git remote add upstream https://github.com/yeasy/docker_practice
git fetch upstream
git checkout master
git rebase upstream/master
# rebase 的过程中会遇到冲突,这时应该编辑,提交,然后继续rebase
# rebase 的过程中会遇到冲突,这时应该编辑,然后add,**千万不要commit**,然后继续rebase
<<EOF * rebase (分支衍合)
git rebase [主分支] [某分支] : 把某分支 rebase 到主分支上去,相当于把某分支从主分支的接连处剪下来,然后接到主分支的尾巴上去
- 如果没指定 某分支 则是 用当前分支当某分支
Expand Down

0 comments on commit 4e7eb72

Please sign in to comment.