这个问号(水银)是什么意思?

波尔卡

看来这是一个简单的问题,但是在运行命令“ Hg push”和“ Hg commit”之后,为什么此文件的前面带有问号。我如何获得这个新文件上载到Mercurial服务器?为什么我的委托提交会留下文件?

    @Xinl ➜  projectfolder  hg status
    ? data/openend_coding/soundex_unaidedlogopay1.py
行星制造者

引自hg help status(汞的帮助非常广泛,总是值得一看!):

The codes used to show the status of files are:

  M = modified
  A = added
  R = removed
  C = clean
  ! = missing (deleted by non-hg command, but still tracked)
  ? = not tracked
  I = ignored
    = origin of the previous file (with --copies)

在mercurial跟踪文件之前,您必须通过告诉它实际执行此操作hg add未跟踪的文件永远不会提交。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章