Skip to content

Instantly share code, notes, and snippets.

@psema4
Created February 8, 2016 02:31
Show Gist options
  • Save psema4/34b245789205331bb21e to your computer and use it in GitHub Desktop.
Save psema4/34b245789205331bb21e to your computer and use it in GitHub Desktop.
Which files in a git repo are set to assume-unchanged?
#!/bin/bash
# source: http://archive.robwilkerson.org/2010/03/02/git-tip-ignore-changes-to-tracked-files/
git ls-files -v | grep -e "^[hsmrck]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment