How to add .hgignore to my Mercurial folder?

后端 未结 3 1644
广开言路
广开言路 2021-02-13 16:53

I\'m learning to use Mercurial, and its learning curve is pretty straightforward. But one of my problem is, I can\'t add the .hgignore file to Mercurial folder. Windows (7) does

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-13 17:12

    Execute

    touch .hgignore

    or

    echo "" > .hgignore

    in the needed directory

提交回复
热议问题