开发者

How do I hide file extensions from showing up by default in TortoiseHg commit?

开发者 https://www.devze.com 2023-02-10 17:22 出处:网络
I\'m开发者_高级运维 using TortoiseHg to commit files to my repository; however, it shows all the .pyc files by default. Is it possible to exclude these files from being shown?You can have Mercurial ig

I'm开发者_高级运维 using TortoiseHg to commit files to my repository; however, it shows all the .pyc files by default. Is it possible to exclude these files from being shown?


You can have Mercurial ignore those files by writing something like the following in your .hgignore file (which should be placed at the same level as your .hg directory):

# use glob syntax.
syntax: glob

*.pyc

After doing that you'll want to remove the existing .pyc files (using the hg rem command).

0

精彩评论

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