代码之家  ›  专栏  ›  技术社区  ›  XDR

在.hginore中包含相对路径

  •  1
  • XDR  · 技术社区  · 8 年前

    我怎么能有一个 .hgignore 文件包括另一个 .hg忽略

    我知道的包括方法论( include:<path-to-hgignore> )需要 <path-to-hgignore>

    e、 g.如果我有以下文件:

    .hgignore
    hgignore/all.hgignore
    hgignore/eclipse.hgignore
    hgignore/idea.hgignore
    

    e、 g.我的根中包括以下内容 作品:

    include:hgignore/all.hgignore
    

    唯一能让我在里面工作的 all.hgignore 必须扎根,例如:

    include:hgignore/eclipse.hgignore
    include:hgignore/idea.hgignore
    

    全部忽略 No such file or directory 错误:

    include:eclipse.hgignore
    include:./eclipse.hgignore
    include:/eclipse.hgignore
    

    下面有什么东西能从里面起作用吗 ?

    include-relative:eclipse.hgignore
    
    0 回复  |  直到 8 年前
    推荐文章