开发者

Ignoring files/paths with RegEx in VisualHG

开发者 https://www.devze.com 2022-12-21 05:50 出处:网络
I am u开发者_开发百科sing VisualHG 1.0.7 and cannot seem to ignore the files that I want. The behavior I am experiencing is the RegEx values I enter for ignoring files appears to only be applied to i

I am u开发者_开发百科sing VisualHG 1.0.7 and cannot seem to ignore the files that I want.

The behavior I am experiencing is the RegEx values I enter for ignoring files appears to only be applied to items marked as ?: unknown.

What I am looking for is a way to add RegEx values to ignore the following:

  • files in any bin directory
  • files in any obj directory
  • files with the cache extension
  • files with the suo extension

I can write the correct RegEx but they aren't being applied to all of the files in the commit view.

Should I just 'forget' these files, or is there another way I should be accomplishing this?


It's by design: hgignore rules are for untracked files only - so you must exclude the files from the repository.

Check this answer for details about 'hg forget'

0

精彩评论

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