1
2
3
4
$ git update-index --assume-unchanged path/to/database.yml

# Find files marked as --assume-unchanged
$ git ls-files -v | grep -e "^[hsmrck]"