在做一些git rebasing时,我自己扭曲了。在下面的图表中,我想stable
指向承诺6016f6
,并且我希望所有其他提交“above”6016f6
消失。换句话说,我有BEFORE
,但我想AFTER
:重新绑定后删除一些推送提交
BEFORE:
* commit 725b5f (origin/fixpaths)
|\ Merge: 6016f65 e91c3aa
| | Date: Sat Apr 27 07:04:05 2013 -0700
| |
| | Merge branch 'fixpaths' of wayfare.example.org:/modules/base into fixpaths
| |
| * commit e91c3a
| | Date: Fri Apr 26 16:49:39 2013 -0700
| |
| | fix permissions on many cron files
.
.
.
| * commit 160460
| | Date: Fri Apr 26 14:35:14 2013 -0700
| |
| | module paths cleanup for dns.pp
| |
| * commit ecbfd6
| | Date: Fri Apr 26 14:23:30 2013 -0700
| |
| | fix module paths in cron base module
| |
* | commit 6016f6 (HEAD, fixpaths)
|/ Date: Fri Apr 26 14:23:30 2013 -0700
|
| Change module paths to work with base module.
|
* commit 88d0bc (origin/stable, stable)
| Date: Mon Apr 22 15:51:44 2013 -0700
|
| committing everything for branch stable
|
| * commit 9baf5a (tag: release/latest, origin/master, origin/HEAD, master)
|/ Date: Wed Apr 24 14:47:23 2013 -0700
|
| Fix permissions on all of the cron jobs
AFTER:
* commit 6016f6 (HEAD, stable, origin/stable)
|/ Date: Fri Apr 26 14:23:30 2013 -0700
|
| Change module paths to work with base module.
|
* commit 88d0bc
| Date: Mon Apr 22 15:51:44 2013 -0700
|
| committing everything for branch stable
|
| * commit 9baf5a (tag: release/latest, origin/master, origin/HEAD, master)
|/ Date: Wed Apr 24 14:47:23 2013 -0700
|
| Fix permissions on all of the cron jobs
(注:为了节省一些空间,我已经被截断哈希并删除了作者行)。