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 4e7eb72 commit e6a0079
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code_to_copy/backend/sa/version_management.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ git fetch upstream
git checkout master
git rebase upstream/master
# rebase 的过程中会遇到冲突,这时应该编辑,然后add,**千万不要commit**,然后继续rebase
# 比如你开发到一半,别的commit对你有影响,这时你rebase然后继续开发会更好
<<EOF * rebase (分支衍合)
git rebase [主分支] [某分支] : 把某分支 rebase 到主分支上去,相当于把某分支从主分支的接连处剪下来,然后接到主分支的尾巴上去
- 如果没指定 某分支 则是 用当前分支当某分支
Expand Down

0 comments on commit e6a0079

Please sign in to comment.