Skip to content

Instantly share code, notes, and snippets.

@scodx
Last active August 29, 2015 14:20
Show Gist options
  • Save scodx/51fe690b15c21678c4b3 to your computer and use it in GitHub Desktop.
Save scodx/51fe690b15c21678c4b3 to your computer and use it in GitHub Desktop.

#untrack and retrack files locally in git edit: .git/info/exclude

untrack: $ git update-index --assume-unchaged filename

retrack: git update-index --no-assume-unchanged filename

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