githug通关攻略
这货叫做githug,而不是大家熟悉的github,其主要目的是通过游戏的形式来让我们练习git的使用。 ##安装githug githug是ruby写的一个应用。所以先要安装ruby,然后输入 :::sh gem install githug 然后就可以在你觉得合适的目录输入githug :::sh ******************************************************************************** * Githug * ******************************************************************************** No githug directory found, do you wish to create one? [yn] y 强烈建议把git的编辑器转换为vim :::sh git config --global core.editor "/usr/local/bin/vim" ##Level 1 :::sh Level: 1 Difficulty: * A new directory, git_hug, has been created; initialize an empty repository in it 开始总是简单的,这题是如何新建一个仓库 :::sh cd git_hug git init githug ##Level 2 :::sh Level: 2 Difficulty: * There is a file in your folder called README, you should add it to your staging area Note: You start each level with a new repo....