Skip to content

Instantly share code, notes, and snippets.

@bora89
Created October 24, 2016 10:14
Show Gist options
  • Save bora89/548917ff5569452296d302981491e4d0 to your computer and use it in GitHub Desktop.
Save bora89/548917ff5569452296d302981491e4d0 to your computer and use it in GitHub Desktop.
git ls-files -z myFolderToIgnore/ | xargs -0 git update-index --assume-unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment