开发者

how to ignore a folder in a given location - mercurial

How can ignore the folder called build in the root of my project, but not ignore a f开发者_JAVA百科older called build anywhere else?

i.e.

/myprog/.hgignore
/myproj/make
/myproj/build <-ignore this
/myproj/lib/somelib/build <- dont ignore this


You could use the regexp syntax as per doc. Your .hgignore should then contain

syntax: regexp
^build


You can use the .hgignore file. You will want to add a line

/myproj/build

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜