开发者

Mercurial: Resync working directory with .hgignore file

开发者 https://www.devze.com 2023-04-01 05:40 出处:网络
I just opened up a project that had the .hgignore file set up entirely wrong. I have fixed it to what it should be, and now I have to remove all the stuff that it was previously not ignoring and now s

I just opened up a project that had the .hgignore file set up entirely wrong. I have fixed it to what it should be, and now I have to remove all the stuff that it was previously not ignoring and now shoul开发者_如何学Cd. Maybe its just early in the morning, but any way to do that other than manually?


(requires Mercurial >= 1.9)

$ hg forget "set:hgignore() and not ignored()"

see hg help filesets for more

0

精彩评论

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