我不经常修改这个文件,但是当我这样做时,感觉这不是一个好习惯。那么存储 .hgignore 被认为是好的做法吗?
最佳答案
是的,您应该将 .hgignore 文件保存在您的仓库中。
https://www.mercurial-scm.org/wiki/QuickStart
You'll want to track your .hgignore file too!
http://hgbook.red-bean.com/read/file-names-and-pattern-matching.html
To have Mercurial permanently ignore such files, create a file named .hgignore in the root of your repository. You should hg add this file so that it gets tracked with the rest of your repository contents, since your collaborators will probably find it useful too.
关于mercurial - 存储 .hgignore 被认为是好的做法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7297003/