问题
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
来源:https://stackoverflow.com/questions/13728053/can-i-ignore-the-global-gitignore