Skip to content

Instantly share code, notes, and snippets.

@ricardoaugusto
Created December 4, 2019 14:37
Show Gist options
  • Save ricardoaugusto/d480754e3ddab8c6af25742377959e1e to your computer and use it in GitHub Desktop.
Save ricardoaugusto/d480754e3ddab8c6af25742377959e1e to your computer and use it in GitHub Desktop.
Make Git forget a file that was tracked and now is ignored
git update-index --assume-unchanged <file>
@ricardoaugusto
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment