I would like to ignore all files that start with:
._
开发者_运维知识库
How would I write this in the .hgignore file?
$ cat .hgignore
syntax: glob
._*
Which I have tested thusly (with some "noise" like ..
removed for clarity):
$ ls -aRF
.:
a ._a .hgignore sub/
./sub:
a ._a
$ hg stat
? .hgignore
? a
? sub/a
精彩评论