What have I marked as –assume-unchanged? Is there any way to find out what I’ve tucked away using that option? I’ve dug through the .git/ directory and don’t see anything that looks like what I’d
Source: Can I get a list of files marked –assume-unchanged?
This is a great way to hide changes to files (e.g., db config files):
git config --global alias.hidden '!git ls-files -v | grep "^[a-z]"'
Here’s a complete selection of nice additions:
git config --global alias.hide '!git update-index --assume-unchanged' git config --global alias.unhide '!git update-index --no-assume-unchanged' git config --global alias.unhide-all '!git update-index --really-refresh' git config --global alias.hidden '!git ls-files -v | grep "^[a-z]"' git config --global alias.ignored '!git !git status -s --ignored | grep \"^!!\"''
Nifty!