Skip to content

Instantly share code, notes, and snippets.

@VadimBrodsky
Created October 20, 2015 23:33
Show Gist options
  • Save VadimBrodsky/b253a27dc424b7cd825d to your computer and use it in GitHub Desktop.
Save VadimBrodsky/b253a27dc424b7cd825d to your computer and use it in GitHub Desktop.
git tricks

Ignoring files from local work folder, without altering the .gitignore.

git update-index --assume-unchanged <file1> <file2> <file3>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment