27

My progression of learning git rebase:

Year 1: WTF just happened?! Where is my code?! *deletes and re-clones repo*

Year 2: Ok if I do it suuuper carefully I can get the other dev's one-line change into my branch...shit...shit...wait...fuck...oh lol it worked.

Year 3: Oh yeah let me organize my commits real quick. *drop pick pick squash reword pick fixup drop pick* *git push -f* 😎

Comments
  • 12
    Me
    Year 1: let me just drop these files on the github web interface

    Year 93828: let me just drop these files on the github cognitive interface
  • 1
    If it's just 1 commit you're after, you can do ```git cherry-pick hash_of_the_commit_you_want``` and it'll pull that into your current branch.
  • 7
    *git push -f* oh no...
  • 0
    Im in year 1.5...
  • 1
    @mjones44 @Bitwise after rebasing a feature branch (onto current master or just to clean up) I find this very reasonable
  • 1
    *git push -fuck-the-rest-of-the-team*
Add Comment