Skip to content

Instantly share code, notes, and snippets.

@iainsproat
Created January 12, 2014 00:11
Show Gist options
  • Save iainsproat/8378720 to your computer and use it in GitHub Desktop.
Save iainsproat/8378720 to your computer and use it in GitHub Desktop.
Git: stash work in progress and move it to a new branch
  • make changes
  • git stash save
  • git checkout -b xxx
  • git stash pop

where xxx is the new branch name

@noha915
Copy link

noha915 commented Oct 27, 2024

wow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment