gem install githug
我在第 10 关遇到问题。。。。我直接把一个文件 commit 了,结果回不到之前的状态,reset 等操作都不管用。
A file (deleteme.rb) has accidentally been added to your staging area, find out which file and remove it from the staging area. NOTE Do not remove the file system, only from git.
jhjguxin@jhjguxin-virtual-machine:~/git_hug$ githug
********************************************************************************
* Githug *
********************************************************************************
Congratulations, you have solved the level
Level: 35
Difficulty: ***
This is the final level, the goal is to contribute to this repository by making a pull request on Github. Please note that this level is designed to encourage you to add a valid contribution to Githug, not testing your ability to create a pull request. Contributions that are likely to be accepted are levels, bug fixes and improved documentation.
小生不才 要出国了 ~~~ 这个这个 最后一关 就不过了 嘿嘿 玩玩还行 写点什么就不成了难不成 弄个 攻略 pull 过去??
hoho 通关攻略出来咯,最好不要看。。。 http://fancyoung.com/blog/githug-cheat-sheet/
#10 楼 @siyang1982 =w=为毛我这里看不到远地的 origin 有 master 分支呢?git pull origin master 显示 Couldn't find remote ref master
#15 楼 @siyang1982 我发现 config 里面是这样的: [remote "origin"] ... url = https://github.com/pull-this/thing-to-pull 于是我直接 git pull [email protected]:pull-this/thing-to-pull,然后就过了 thanks
#13 楼 @siyang1982 not testing your ability to create a pull request... 其实可以 pull 个中文翻译过去
我在 level 14 先 git add forgotten.rb,然后 git commit --amend,为什么没用啊,githug 说不正确,求解啊,不然玩不下去啊。。。
Name: commit_in_future Level: 20 Difficulty: **
Commit your changes with the future date (e.g. tomorrow). 这题 有人帮帮我吗,网上找的答案不正确