Git 状态显示我删除了 2 个文件
Git status shows 2 files that I deleted
如何删除这两个文件?
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
deleted: public_html/images/summits/StrongerThanYouThink.jpg
deleted: public_html/images/summits/StrongerThanYouThinkc6.jpg
这些文件列在“要提交的更改”部分中。在您 运行 git commit
之后,这些文件将从您存储库的 HEAD 中删除,并且 git status
将不再将它们显示为已暂存。
如何删除这两个文件?
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
deleted: public_html/images/summits/StrongerThanYouThink.jpg
deleted: public_html/images/summits/StrongerThanYouThinkc6.jpg
这些文件列在“要提交的更改”部分中。在您 运行 git commit
之后,这些文件将从您存储库的 HEAD 中删除,并且 git status
将不再将它们显示为已暂存。