Skip to content

Instantly share code, notes, and snippets.

@uniomni
Created March 29, 2011 09:22
Show Gist options
  • Save uniomni/892074 to your computer and use it in GitHub Desktop.
Save uniomni/892074 to your computer and use it in GitHub Desktop.
GIT survival
Move current work to branch
git stash
git checkout -b bname
git stash apply
git commit -a -m "XXXX"
git push origin bname
git branch -avv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment