当我尝试将文件添加到Git时,我输入了以下命令:
git add [文件名]
git add <insert file names here>
那个工作得很好。然而,当我尝试做时
git commit -a
我的Git存储库告诉我它是空的。 输出的内容是:
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
<insert name of files here>
nothing added to commit but untracked files present (use "git add" to track)
有人知道这个问题的解决方案吗?谢谢。