Skip to content

Instantly share code, notes, and snippets.

@JayBee007
Created January 1, 2019 14:16
Show Gist options
  • Save JayBee007/74b22dff4e97e785fe145f3aaf2d70a8 to your computer and use it in GitHub Desktop.
Save JayBee007/74b22dff4e97e785fe145f3aaf2d70a8 to your computer and use it in GitHub Desktop.
Untrack files already added to git repository based on .gitignore
git rm --cached foo.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment