Skip to content

Instantly share code, notes, and snippets.

@borantula
Created April 3, 2019 14:52
Show Gist options
  • Save borantula/85893a616f0b79d7254e87d47d6abfcf to your computer and use it in GitHub Desktop.
Save borantula/85893a616f0b79d7254e87d47d6abfcf to your computer and use it in GitHub Desktop.
Splitting a huge PR by unstaging files
git reset --soft last-commit-before-branch
then unstage all files changed and add as you wish create new commits etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment