version-control - 这个问号(mercurial)是什么意思?

标签 version-control mercurial

这似乎是一个简单的问题,但是为什么在我运行命令“Hg push”和“Hg commit”之后,这个文件前面有一个问号。如何让这个新文件上传到 mercurial 服务器?为什么我的善变提交留下了一个文件?

    @Xinl ➜  projectfolder  hg status
    ? data/openend_coding/soundex_unaidedlogopay1.py

最佳答案

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

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 告诉它实际这样做。 .永远不会提交未跟踪的文件。

关于version-control - 这个问号(mercurial)是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37580094/

相关文章:

mercurial - 如何取消添加已添加的尚未提交的文件?

mercurial - “hg pull”在 CruiseControl.NET 构建中失败,因为未检测到任何更改

Git:Git 什么时候进行垃圾回收?

git - 声音、视频和其他二进制文件的版本控制

visual-studio-2008 - Visual Studio SVN 集成

version-control - .hgignore文件怎么了? (什么都不会被忽略)

version-control - 如何通过命令行从CVS获取新添加文件的特定修订版?

python - 用于 Python 的本地文件系统 (Windows) 的版本控制

mercurial - 如何将工作分为多个队列和多个队列?

mercurial - hg 忘记递归