ahzvpa
Last Updated: February 25, 2016
·
111
· dfang
Img 0047

Ignore NEW files locally in git

git

sometimes when you trying out new things in a project, eg, trying Dockerfile and docker-compose.yml, or writing a generator for a rails backend. but you're ready, you don't want to add thess files to git, you don't want to edit .gitignore or ~/.gitignore_global file, and git update-index --assue-unchanged is for files that's already in git index. so it is not what i want.

from stackoverflow i got this:

edit .git/info/exclude

......

i like this tips :)

Say Thanks
Respond