Skip to content

Ignore git file(s) without .gitignore (local only)

This is affects on local only

git update-index –assume-unchanged /path/to/file

or

git update-index –assume-unchanged /path/to/files/*

or

register files path into .git/info/exclude

 

Share

Comments are closed.