Can I ignore the global .gitignore?

2019-04-08 06:30发布

问题:

My global .gitignore is generally great but for this one off project I don't want the global rules applied.

How can I remove the global .gitignore rules for this one freak repository?

回答1:

Run this command in your repo:

git config --local core.excludesfile false


标签: git gitignore