Skip to content

Instantly share code, notes, and snippets.

@AidanThreadgold
Created October 18, 2013 22:04
Show Gist options
  • Save AidanThreadgold/7048928 to your computer and use it in GitHub Desktop.
Save AidanThreadgold/7048928 to your computer and use it in GitHub Desktop.
Git command to ignore a specific file from the index (so git doesn't think it's changed)
git update-index --assume-unchanged path/to/file.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment