我的git日志中有一棵如下所示的树。我想把前10个提交并将它们压缩成一个。所以我跑了git rebase -i HEAD~10
这是一个痛苦的计算,但看到这10个条目。有没有办法用SHA指定目标提交?喜欢git rebase -i 79a1363
?
* 8e43e2d (HEAD -> share) fastlane changes
* a09c655 Handles landscape for iPhone now
* 2c764e1 Now deletes ALL tickets of a type, instead of just a specific date range. Added fast lane support for beta deployment.
* 6f6c577 Updated version for push
* c422d06 Fixed for iPad
* 948bcd4 Fixed master view cells.
* b82df83 Fixed the loser detail view cell
* c31d8b5 Winnings now properly displays at all text sizes.
* ff15e79 Wrote the winning/losing cells.
* 79a1363 Bunch of stuff for larger text
* e58b1f9 (tag: v6.2.3, origin/master, origin/HEAD, master) 6.2.3
* 3f02a27 (tag: v6.2.1) Version 6.2.1
* 7703d55 (tag: v6.2.0) Updated revision