Skip to main content
24 events
when toggle format what by license comment
Apr 10 at 8:14 comment added Magnus Another option is to create a new branch based on whichever branch you want the pull request to be merged into (i.e. usually main or master), squash-merge into the new branch, and create the pull request from that branch. IMHO that's a lot easier and less confusing than rebasing. Squash-merging can be easily done in many GIT-applications, such as Github Desktop. The only downside is that now you have two branches, but if you don't need to keep your original commits, you can safely delete the original one after squash-merging into the new one.
Jul 19, 2018 at 18:31 review Reopen votes
Jul 20, 2018 at 2:59
Dec 9, 2017 at 1:34 history closed poke git Duplicate of How do I squash my last N commits together?
S May 9, 2017 at 7:32 history suggested Stevoisiak
Add [pull-request] tag
May 8, 2017 at 23:30 review Suggested edits
S May 9, 2017 at 7:32
May 8, 2017 at 23:25 answer added Stevoisiak timeline score: 42
Jun 17, 2016 at 12:57 review Close votes
Jun 21, 2016 at 0:05
Apr 2, 2016 at 18:52 comment added VonC You don't have to squash anymore: the owner can do it for you (since March 2016): see stackoverflow.com/a/36377439/6309
Oct 19, 2015 at 19:14 review Close votes
Oct 23, 2015 at 0:06
Oct 19, 2015 at 18:55 history edited Air CC BY-SA 3.0
deleted 41 characters in body
Oct 6, 2014 at 16:38 history edited omerjerk CC BY-SA 3.0
edited body
Jun 6, 2014 at 8:32 review Close votes
Jun 10, 2014 at 0:02
Jun 6, 2014 at 8:13 comment added user456814 Duplicate of Squash my last X commits together using Git.
Jun 6, 2014 at 8:12 history edited user456814 CC BY-SA 3.0
Improved question body, title, and tags.
May 14, 2014 at 3:25 vote accept omerjerk
May 14, 2014 at 3:24 vote accept omerjerk
May 14, 2014 at 3:25
May 6, 2014 at 6:10 vote accept omerjerk
May 14, 2014 at 3:24
May 6, 2014 at 6:10 vote accept omerjerk
May 6, 2014 at 6:10
Jan 25, 2014 at 15:50 vote accept omerjerk
May 6, 2014 at 6:10
May 20, 2013 at 4:29 answer added fontno timeline score: 97
Jan 26, 2013 at 8:25 answer added omerjerk timeline score: 52
Jan 26, 2013 at 6:53 history edited omerjerk CC BY-SA 3.0
added 797 characters in body
Jan 26, 2013 at 6:13 answer added Cong Wang timeline score: 11
Jan 26, 2013 at 6:11 history asked omerjerk CC BY-SA 3.0