好吧,我正在尝试git reset
命令,但我遇到了以下情况:
- 我在索引中的文件被删除了
- 我有未跟踪的文件。
所以我添加了前重置文件,git add .
然后当我这样做时,我git status
没有在索引中找到任何东西
C:\Users\xxx\Desktop\learn>git status
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# deleted: forthreset
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# forthreset
C:\Users\xxx\Desktop\learn>git add forthreset
C:\Users\xxx\Desktop\learn>git status
# On branch master
nothing to commit, working directory clean
这是什么意思 ?