TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Learn Git Branching

245 pointsby Dekkualmost 12 years ago

16 comments

zaiusalmost 12 years ago
Why is git so hard? Is it that it encapsulates concepts that are inherently difficult to grasp? Or is it just that I need to think about things in a different way? I still feel after 5 years of git use that I am useless with it.
评论 #5938490 未加载
评论 #5938546 未加载
评论 #5938375 未加载
评论 #5938656 未加载
评论 #5938900 未加载
评论 #5940132 未加载
评论 #5942349 未加载
评论 #5940969 未加载
评论 #5939148 未加载
评论 #5940752 未加载
评论 #5938373 未加载
评论 #5938759 未加载
xxbondsxxalmost 12 years ago
Hey everyone! Author of LGB here, wasn&#x27;t aware this would go to the front page again, sorry for not responding earlier.<p>Please check out the demo of the app if you haven&#x27;t seen it yet: pcottle.github.com&#x2F;learnGitBranching&#x2F;?demo<p>It explains most of the operatons and gives you a sense of how to start and stop lessons.<p>I&#x27;m also working on getting lessons for origin commands (git push, pull, fetch, etc). You can see a short demo of that functionality here: <a href="http://pcottle.github.io/learnGitBranching/?NODEMO&amp;command=git%20clone;%20git%20fakeTeamwork%202;%20git%20fetch;delay%202000;reset;%20git%20clone;%20git%20fakeTeamwork%202;%20git%20commit;%20git%20pull;git%20push;%20delay%202000;%20reset;%20git%20clone;%20git%20fakeTeamwork%202;%20git%20commit;%20git%20pull%20--rebase;%20git%20push" rel="nofollow">http:&#x2F;&#x2F;pcottle.github.io&#x2F;learnGitBranching&#x2F;?NODEMO&amp;command=g...</a><p>But a lot of it is broken still, so it&#x27;s strictly a WIP
评论 #5942291 未加载
评论 #5943026 未加载
评论 #5941354 未加载
评论 #5946061 未加载
andyhmltnalmost 12 years ago
Why is this posted and upvoted on to the front page at least 3-4 times a month? It&#x27;s a great resource, but I don&#x27;t think that warrants pushing other stories down as it resurfaces so frequently.
评论 #5939974 未加载
AlexanderDhoorealmost 12 years ago
I&#x27;m shocked at how awesome this is... My git-fu is not very strong. This is great!<p>You can even make lessons to share with friends... That&#x27;s amazing! Next step: make user contributed lessons archive!
mazsaalmost 12 years ago
FYI: <a href="http://news.ycombinator.com/item?id=5232415" rel="nofollow">http:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5232415</a>
jafakualmost 12 years ago
So what do I do now?<p><a href="http://i.imm.io/1al4b.jpeg" rel="nofollow">http:&#x2F;&#x2F;i.imm.io&#x2F;1al4b.jpeg</a>
评论 #5938244 未加载
评论 #5938169 未加载
grimtriggeralmost 12 years ago
I&#x27;ve struggled with git for years without ever feeling comfortable with it. This looks like it is going to be really awesome. Thank you pcottle!
bellbindalmost 12 years ago
Great stuff there, I actually learnt from what I thought was an interactive tutorial for beginners. The commands (like &#x27;reset&#x27; to go back to the beginning of a level) are not that straightforward from the beginning though. Also I haven&#x27;t found how to actually see <i>your</i> solution yet (not that I have really searched for it, but it would be nice to have a big button).
goghvanmralmost 12 years ago
I never really understand git branching until I saw this cool website. Thanks a lot.
rbellioalmost 12 years ago
Level 3 Intro - Create a branch, checkout, commit, checkout master, commit, merge. It says it can be done in five commands and I&#x27;m doing it in six (following the above steps very closely). What am I missing?
评论 #5939933 未加载
评论 #5939915 未加载
tallesalmost 12 years ago
Very useful. Used in a Git presentation I gave.
评论 #5939985 未加载
rob22almost 12 years ago
It Really Awesome as well very usefull too....
vanwilder77almost 12 years ago
Woww..! I just learned Git branching. Used Git for 2 years, but never really bothered to learn more!<p>Awesome stuff
anton_gogolevalmost 12 years ago
So judging by the number of Git-related posts here on HN I can assume that Git has taken over. Sad, but true.
评论 #5939211 未加载
goghvanmralmost 12 years ago
every time I completed a level, my Safari crashed... Environment: Mac OS X 10.8
julien421almost 12 years ago
This is very nice! GG!