All My Brain Where stuff from my brain lands

December 7, 2011

How to fix that mistake commit you just pushed to your git repository

Filed under: Programming — Tags: , , , — Dennis @ 12:51 pm

I’ve already written a time or two how you can use git rebase to change your commit history as you work. Handy handy.. I think everyone should know how to do that.

Next up.. what if you pushed a commit and realize it’s not so great. First of all, everyone discourages this of course. The encouraged way is to just make another commit that fixes what you want different. We all want to break that rule every now and then though. Here’s how…

Powered by WordPress

%d bloggers like this: