warning: Creating default object from empty value in /home/cborders/ on line 33.

Reversing Commits in Git

I had an issue this morning where I had merged two branches and immediately wished I hadn't since I wasn't done with the feature branch that I merged into. The right thing would have been to thoroughly think it though before doing the merge but we all have bad days! After spending way too much time trying various permutations of git reset with every different flag that looked even close to what I wanted I finally found a way that worked!

Syndicate content