Skip to content

Instantly share code, notes, and snippets.

@simple17
Created November 20, 2018 13:52
Show Gist options
  • Save simple17/2342e1c609078f5313aae2b26e7c0c7f to your computer and use it in GitHub Desktop.
Save simple17/2342e1c609078f5313aae2b26e7c0c7f to your computer and use it in GitHub Desktop.
[Uncommit] Uncommit last commit then stash #git
git reset --soft HEAD^
git stash
git pull
git stash apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment