在做一些 git rebase 时,我让自己扭曲了。在下图中,我想stable
指出提交6016f6
,并且我希望所有其他“以上”6016f6
提交都消失。换句话说,我有BEFORE
但我想要AFTER
:
前:
* 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
后:
* 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
(注意:为了节省一些空间,我截断了哈希并删除了作者行。)