Skip to content

Instantly share code, notes, and snippets.

@antoinekociuba
Last active July 23, 2019 23:29
Show Gist options
  • Save antoinekociuba/903ba92781814111b5116bce98ff3e09 to your computer and use it in GitHub Desktop.
Save antoinekociuba/903ba92781814111b5116bce98ff3e09 to your computer and use it in GitHub Desktop.
Make modification/deletion on a file not visible by Git, even if this file is under version control
git update-index --assume-unchanged media/downloadable/.htaccess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment