D:codegt>git init
Initialized empty Git repository in D:/code/gt/.git/
D:codegt>echo Zero > a
D:codegt>git add a
D:codegt>git commit -m a
[master (root-commit) 392580e] a
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 a
D:codegt>echo One > a
D:codegt>git add a
D:codegt>git commit -m another
[master 271efba] another
1 files changed, 1 insertions(+), 1 deletions(-)
D:codegt>echo Second > a
D:codegt>git add a
D:codegt>git commit -m "yet another"
[master 8d2041e] yet another
1 files changed, 1 insertions(+), 1 deletions(-)
D:codegt>git status
# On branch master
nothing to commit (working directory clean)
D:codegt>git checkout 271ef a
D:codegt>git status
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: a
#
如你所知,我检查了第2次袭击时所拥有的档案。 然而,我不理解为什么它已经列入指数。 为什么要让我做些什么?