關於提供的攻略中的說明

關於上一篇 演示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, 然後再進行刪除操作(也可以進行添加)。

在這裏插入圖片描述
在這裏插入圖片描述

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