我可以制作一个特定于用户的gitignore文件吗? [英] Can I make a user-specific gitignore file?
本文介绍了我可以制作一个特定于用户的gitignore文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想改变gitignore,但并非团队中的每个人都想要这些改变。用户如何拥有自己特定的git忽略文件?
I want to change the gitignore, but not everyone on the team wants these changes. How can a user have their own specific git ignore file?
推荐答案
对于用户特定的和特定于repo的文件,忽略你应该填充以下文件:
For user-specific and repo-specific file ignoring you should populate the following file:
$GIT_DIR/info/exclude
通常$ GIT_DIR代表:
Usually $GIT_DIR stands for:
your_repo_path/.git/
这篇关于我可以制作一个特定于用户的gitignore文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文