Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Starting with Git: Cheat Sheet (thinkvitamin.com)
109 points by joshuacc on Nov 3, 2010 | hide | past | favorite | 11 comments


For the Ruby developers, do yourself a favor and install the cheat gem (gem install cheat).

Then just type 'cheat git' and you'll have nice tidy reference for git (and a host of other subjects) right from the command-line.

cheat sheets

cheat ruby_one_liners

cheat textmate

cheat svn

cheat sql

cheat mysql

etc...


This is a well-written intro to Git. But for a real Git cheatsheet, I like http://ndpsoftware.com/git-cheatsheet.html which is an unusual visual cheatsheet for Git.


I think this is the "original" git cheat sheet (at least, the first one I saw) - http://zrusin.blogspot.com/2007/09/git-cheat-sheet.html

Also, it won't blind you. :-)

More at http://help.github.com/git-cheat-sheets/


If you are on Windows, I heartily recommend TortoiseGit:

http://code.google.com/p/tortoisegit/

It's like permanent cheat sheet right where you need it.


I stopped reading at the criticism of git log. It only takes a --oneline argument to make it much less verbose.


Actually found this one helpful. Thx. There are a lot of these out there, but you can see the value of the explenations.

The only thing is, if you can't print it(something you'd have by your desk), it ain't no cheat sheet.


In general, what's there to suggest a company use Git versus Subversion?


I would suggest starting here. Good luck.

http://whygitisbetterthanx.com/


And once you convince them, they will likely say that it would cost too much to migrate.

Then you tell them that you have already been using git-svn for months to do your work, and the migration is effectively done already.


Every time I see a reference to that website, it makes me cry.

As someone said: "The biggest non-technical difference between git and mercurial is the rabid culture surrounding git. mercurial users fairly happily and quietly use their tool, while I've had to send two separate door-to-door git missionaries away today alone." (http://www.rockstarprogrammer.org/post/2008/apr/06/differenc...)


Branching and merging work intuitively in git.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: