pol*_*lka 4 version-control mercurial
这似乎是一个简单的问题,但是在运行命令“ Hg push”和“ Hg commit”之后,为什么此文件前面带有问号。我如何获得这个新文件上传到Mercurial服务器?为什么我的委托提交会留下文件?
@Xinl ? projectfolder hg status
? data/openend_coding/soundex_unaidedlogopay1.py
Run Code Online (Sandbox Code Playgroud)
引自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)
Run Code Online (Sandbox Code Playgroud)
在mercurial跟踪文件之前,您必须通过告诉它实际执行此操作hg add。未跟踪的文件永远不会提交。