TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Githug - an interactive way to learn how to use git

154 点作者 Gazler大约 13 年前

12 条评论

jlarocco大约 13 年前
I like that people are learning Git, but why are there so many tutorials for it?<p>The Git commands that are most useful 95% of the time just didn't seem that hard to learn, IMO. It's not worth wasting memory for the other 5% of the time because I'll probably need to check the man pages anyway.
评论 #3711216 未加载
评论 #3713536 未加载
jchrisa大约 13 年前
I always thought the term githug was for when you take a dead old Google Code project you didn't write, and give it a new home on github.
RobertLysik大约 13 年前
You got me...I got sucked into playing this tonight :) Very clever, you were able to get me to poke around with things I hadn't tried yet. Thanks for providing the reset option, I made a mistake at level 12 and it really came in handy. I'm now at level 20 and it looks like I'm supposed to add a level to the game ;)
meemo大约 13 年前
I can't quite get past level 4: "Set up your git name and email, this is important so that your commits can be identified"<p>I had already set these up in my global config, but I ran the following commands anyway: git config user.name "My Name"; git config user.email "my_name@myemail.com"<p>Looking at the code, it seems that the program is supposed to ask me for my name and email, but it never did.
评论 #3711609 未加载
评论 #3711668 未加载
评论 #3712483 未加载
评论 #3711939 未加载
评论 #3711566 未加载
peteretep大约 13 年前
This is topical for me right now, and apologies in advance that I'm going to link back again to my blog at the end of this comment...<p>I've been thinking recently about how important it is to dominate your tools. Use git regularly? Then learn the shit out of it. Learn how it works in side and out.<p>Over the last few days I've been committing the entirety of <a href="http://book.git-scm.com/" rel="nofollow">http://book.git-scm.com/</a> to memory, and many little inefficiencies I never knew were there are now gone.<p>Committing stuff like this to memory is easy and fun: <a href="http://www.writemoretests.com/2012/02/how-to-remember-everything-ever-and-forever.html" rel="nofollow">http://www.writemoretests.com/2012/02/how-to-remember-everyt...</a>
Groxx大约 13 年前
<p><pre><code> note Because solution is a Proc, you cannot prematurely return out of it and as a result, must put an implicit return on the last line of the solution block. </code></pre> Maybe not <i>return</i>, but you can `next`: `next true if repo.valid?` works fine within Procs.
评论 #3712485 未加载
sirwanqutbi大约 13 年前
Anyone else increasingly disappointed at the lack of instant demos' on Github pages?
vilius大约 13 年前
Funny how typing "githug" is a very mind twisting task. You end up with "github" even if you are thinking about the ending "g". Still a very clever name!
juanfatas大约 13 年前
I have question on level 21, it said:<p>Contribute to this repository by making a pull request on Github.<p>The Hint: Forking the repository would be a good start!<p>Could someone clarify a bit more?
评论 #3712601 未加载
Vitaly大约 13 年前
hmm. I don't see much "interactive" about it. it just spits "Sorry, this solution is not quite right!" at me. WTF am I supposed to do?
评论 #3711339 未加载
评论 #3711315 未加载
juanfatas大约 13 年前
I am wondering how many levels are there? o.O ?
gcb大约 13 年前
interesting idea, but a sample session output in the README would help the short-attention-span peop... brb.