Skip to content

Instantly share code, notes, and snippets.

@mindevolution
Created September 27, 2017 04:17
Show Gist options
  • Save mindevolution/eb6624d0895a08a72a601ea816aedd2c to your computer and use it in GitHub Desktop.
Save mindevolution/eb6624d0895a08a72a601ea816aedd2c to your computer and use it in GitHub Desktop.
git set assume unchanged by directory
git ls-files -z | 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