Would like to create some defaults for my .hgignore files in TortoiseHG/Mercurial

后端 未结 4 1175
温柔的废话
温柔的废话 2020-12-30 10:57

I\'d like to make it so that every time I create a new repository, certain filters automatically get added to my .hgignore files by default.

For example, for C# proj

4条回答
  •  一生所求
    2020-12-30 11:45

    hg add .hgignore ?

    Perhaps you could clone from a repo that only had that file checked in. :)

    Otherwise you'd have to write a small extension that did this in hg init somehow

提交回复
热议问题