Git的报告对我的分支之一以下状态:Git的状态有点混乱
# On branch awesome # Changes to be committed: # (use "git reset HEAD ..." to unstage) # # new file: NEW.txt # # Changed but not updated: # (use "git add ..." to update what will be committed) # # modified: NEW.txt #
这出现,因为我创造了NEW.txt
然后吩咐:
git add NEW.txt
,后来编辑的文件。这是否意味着做git commit
将提交我对该文件所做的最新更改,还是应该格外小心?
大胆的陈述澄清了一切,谢谢。 – 2009-12-04 02:09:11