Ignore NEW files locally in 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 :)
Written by fang
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#