Skip to content

Instantly share code, notes, and snippets.

@alienlebarge
Created October 31, 2018 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alienlebarge/4040563da840d57761baeb493fcf186a to your computer and use it in GitHub Desktop.
Save alienlebarge/4040563da840d57761baeb493fcf186a to your computer and use it in GitHub Desktop.
# Remove file from the index without changing anything else.
git reset <file>
# Remove all files
git reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment