User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_rebase [2019/04/03 20:43]
rpjday [Example requiring --onto newbase]
git_rebase [2019/04/06 21:34] (current)
rpjday [Removing a sequence of commits]
Line 35: Line 35:
         D---E---F---G ​            ​master         D---E---F---G ​            ​master
 </​code>​ </​code>​
 +One of:
 +$ git checkout topic
 +$ git rebase master
 <​code>​ <​code>​
Line 81: Line 90:
 <​code>​ <​code>​
-$ git rebase --onto B D+$ git rebase --onto B D [HEAD]
 </​code>​ </​code>​
git_rebase.1554324188.txt.gz ยท Last modified: 2019/04/03 20:43 by rpjday