Skip to content

Instantly share code, notes, and snippets.

@cezarderevlean
Last active June 15, 2017 10:47
Show Gist options
  • Save cezarderevlean/2bd1aa2b04812cb46323 to your computer and use it in GitHub Desktop.
Save cezarderevlean/2bd1aa2b04812cb46323 to your computer and use it in GitHub Desktop.
Git assume
http://i.imgur.com/pQXZjor.png
~/.gitconfig
[alias]
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
assume = "update-index --assume-unchanged"
unassumeall = "!git assumed | xargs git update-index --no-assume-unchanged"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment