Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save arkadiusjonczek/97383c303ca3f006673adc9bf911f053 to your computer and use it in GitHub Desktop.

Select an option

Save arkadiusjonczek/97383c303ca3f006673adc9bf911f053 to your computer and use it in GitHub Desktop.
git cheatsheet #1
git reset <file>
git reset
git rm --cached <added_file_to_undo>
git update-index --assume-unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment