1. Assume the following history exists and the current branch is "topic":
A---B---C topic
/
D---E---F---G master
From this point, the result of either of the following commands:
git rebase master
git rebase master topic
would be:
A'--B'--C' topic
/
D---E---F---G master
2. git rebase 過程中:
在修改完需要merge的文件后,用git add和git status來確認rebase狀態,然后再git rebase --continue
2. git rebase 過程中:
在修改完需要merge的文件后,用git add和git status來確認rebase狀態,然后再git rebase --continue