23

that moment when u forgot to switch branch first and ended up develop in master.

Comments
  • 6
    no biggy.. 'git stash' move to an existing or create a new branch and 'git stash pop'
    boom! you are in the happy zone again :D
  • 2
    or create a new branch, switch back to master, hard reset and checkout new branch
  • 3
    Git cherry-pick is your friend if you've already committed.
  • 0
    Or git rebase --onto
Add Comment