Joined September 2012
·

Sean Copenhaver

Lead Code Commodore at backgroundchecks.com
·
South Carolina
·
·
·

Posted to I committed to the wrong branch? over 1 year ago

Good call. I believe at the time when I wrote this pro-tip I had not used rebase.

The only advantage that this has is the 2 step process allows someone unfamiliar a chance to see what they did. Also if you had already pushed up the bad commit I believe rebase is not preferred. Of course in that scenario you wouldn't want to strip either (you'll just get the history back when you pull).

Achievements
272 Karma
18,201 Total ProTip Views