Skip to content

Instantly share code, notes, and snippets.

@williamluisan
Last active September 16, 2022 06:22
Show Gist options
  • Save williamluisan/bc08331a991a1341f44869cf8130befe to your computer and use it in GitHub Desktop.
Save williamluisan/bc08331a991a1341f44869cf8130befe to your computer and use it in GitHub Desktop.
Tells git to assume that file not changed
git update-index --assume-unchanged [path]
Details:
https://luisdalmolin.dev/blog/ignoring-files-in-git-without-gitignore/
http://source.kohlerville.com/2009/02/untrack-files-in-git/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment