Skip to content

Instantly share code, notes, and snippets.

@samarpanda
Created February 18, 2014 13:05
Show Gist options
  • Save samarpanda/9070582 to your computer and use it in GitHub Desktop.
Save samarpanda/9070582 to your computer and use it in GitHub Desktop.
Git ignore changes in tracked files.

Handle ignore changes in tracked files locally

## Start untracking changes locally
git update-index --assume-unchanged <file_path>

## Start tracking changes again
git update-index --no-assume-unchanged <file_path>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment