这似乎是一个简单的问题,但是为什么在我运行命令“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/