关于提供的攻略中的说明

关于上一篇 演示ruby的安装、下载githug游戏 中提供的简书博主的攻略,
存在一些瑕疵,特此提供说明。

第十关

There are some files in this repository, how many of the files will be committed?
	这个库中有一些文件,将提交多少个文件?

博主只提供了 git status 查看状态,然而查看后还需要回答:
How many changes are going to be committed?
	要进行多少修改

我们可以看到暂存区中有两个绿色文件名,我们只需要输入 2 即可完成本关。

第十关

第十一关

A file has been removed from the working tree, however the file was not
removed from the repository. Find out what this file was and remove it.
	有一个文件被从工作目录中直接删除了,而没有通知到仓库,
	找到这个文件,把它从仓库中删除。 

首先查看状态 git status, 然后再进行删除操作(也可以进行添加)。

在这里插入图片描述
在这里插入图片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章