support temporarily ignoring files using git update-index --assume-unchanged #531

jixiuf opened this Issue Jan 12, 2013 · 1 comment


None yet
2 participants

jixiuf commented Jan 12, 2013

    ignore = !git update-index --assume-unchanged
    unignore = !git update-index --no-assume-unchanged
    # ignored = !git ls-files -v | grep ^[a-z]
         # ignored = !git ls-files -v | grep "^[[:lower:]]" | awk '{print $2}'
    ignored = !git ls-files -v | grep "^[[:lower:]]"

I can use this command in my shell ,

     git ignore filename 
     git unignore filename 
     gilt ignored  

and I hope magit can support this feature.


tarsius commented May 26, 2013

I don't think this is particularly useful. At least not in Magit: you cannot easily tell Git show me the difference except for this file; in Magit you would just collapse the item showing the boring file's diffs.

tarsius closed this May 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment