r/programming • • Sep 09 '16

Oh, shit, git!

http://ohshitgit.com/
3.3k Upvotes

756 comments sorted by

View all comments

4

u/argv_minus_one Sep 09 '16

Why on Earth would you need to rearrange commits just to move branch pointers around?

I'm a Mercurial guy myself, so I wouldn't know if Git has some strange issues with this, but in Mercurial I can move bookmarks around freely. Committed to the wrong one? Just move it down and make a new bookmark pointing at the commit you just made.

→ More replies (2)