Skip to main content

Timeline for Squash 2 commits into 1 [duplicate]

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Apr 9, 2019 at 21:10 history edited Romain Valeri
edited tags
Mar 25, 2019 at 10:31 vote accept runnerpaul
Mar 21, 2019 at 15:36 history closed kowsky
phd
DanielBarbarian
Sterling Archer
wp78de
Duplicate of Combine the first two commits of a Git repository?, How do I squash my last N commits together?
Mar 21, 2019 at 15:18 comment added Mark Adelsberger In your specific situation, RomainValeri's answer is probably the simplest solution. However, it may be useful to understand why interactive rebasing isn't working for you, because rebase is a much more powerful / more general tool and will work in many cases where simply reset + commit will not
Mar 21, 2019 at 14:51 comment added phd stackoverflow.com/search?q=%5Bgit-rebase%5D+first+commit
Mar 21, 2019 at 14:45 review Close votes
Mar 21, 2019 at 15:36
Mar 21, 2019 at 14:29 answer added Romain Valeri timeline score: 8
Mar 21, 2019 at 14:29 comment added kowsky Did you change the pick to squash for the second commit in the opening editor window?
Mar 21, 2019 at 14:27 history asked runnerpaul CC BY-SA 4.0