• Home
  • RSS Feed
  • Log in

GIT 101
Posted by Age Mooy in the wee hours: January 26th, 2009

After hearing a lot about distributed source code management (SCM) systems lately, I've been playing around with GIT and I like it a lot. As a longtime user of traditional SCMs like CVS and Subversion, working with GIT is something of a revelation and so nothing seems more natural than spreading the gospel a little :)

To help other people learn about GIT, I've collected some of the most interesting GIT 101 stuff I've found around the net.

The Basics

  • The GIT homepage: a good place to start. The documentation page has all the starting points you need.
  • The official GIT tutorial
  • The GIT User Manual: a very exhaustive guide to everything you'll ever need to know about GIT
  • GIT Merging By Example: shows the awesome power of GIT merging in action.

GIT vs Subversion

  • The GIT-SVN crash course: a good starting point for people switching to GIT from SVN
  • A git-svn Tutorial: a good tutorial for using git locally while still working with a central SVN repository.
  • Why GIT Is Better Than X: a good summary of arguments why GIT is better than any other SCM and also a good introduction to some of the most basic features of GIT
  • Three reasons to switch to GIt from Subversion

Screencasts

  • Linus Torvalds on GIT: the creator of GIT explains it all... including his opinion of SVN users.
  • GitCasts: a great and growing collection of screencasts on GIT basics. This also includes a presentation on GIT internals that the author gave at RailsConf 2008.
  • Grails and GIT Quickcast: a cool screencast that shows how GIT integrates very well with Grails development.

Tools

  • Egit: The GIT eclipse plugin. Still in its early stages but pretty useful already. If you'd rather use another IDE, Idea IntelliJ 8.1 has GIT integration, Netbeans support has just started, and of course there's always Emacs.
  • GitX: An Max OSX version of the built-in Gitk tool. Same functionality, much better looking.

And finally, the GitHub (awesome !) Guides section contains a lot more information and enough starting points to keep you reading and watching screencasts for hours.

Hopefully this will help get you started with GIT. Please leave a comment when you've found other interesting GIT resources.

  • Share/Bookmark

Filed under GIT, Tools | 13 Comments »



13 Responses to “GIT 101”



    Balaji D Loganathan Says:
    Posted at: January 26, 2009 at 9:11 am

    Hi Age,
    Good collection.
    Does free and commerical continuous integration servers supports GIT ? Like how Bamboo listens to SVN/CVS ?
    Cheers
    Balaji



    Age Mooy Says:
    Posted at: January 26, 2009 at 12:12 pm

    Good point. I did a quick check and GIT support is not very widespread yet.

    For Bamboo there’s an open Jira issue and some guys built their own bamboo plugin but no official support yet. TeamCity also does not have GIt support, although they do support Mercurial, a GIT competitor.

    The only CI server with current GIT support that I could find with some quick browsing was Hudson.

    I expect that this gap will not exist for very long but it is currently an issue to watch out for.



    Francois Armand Says:
    Posted at: January 26, 2009 at 5:02 pm

    There is a point that make git usable almost anywhere: git-svn support – and it’s really good.

    The distant repository is a classic SVN repos, so you have access to all the common svn integration (CI, sventon, etc).

    But on local post, you have a real git repos. I think it’s a pretty cool mid-solution : the reference repository is a SVN, but you and your team use git. Everybody is happy, developers who are able to test and braodly refactor local sources with a real source management (and git full project diff is so nice), admins that only have to know svn configuration, managers that can see cool graph and report from CI (and who make so much time to understand turtoiseSVN, you can’t make them learn a new thing), etc.

    So : git-svn if for you.



    John W Wiegley Says:
    Posted at: January 28, 2009 at 7:15 am

    I might also mention this 101ish article: http://www.newartisans.com/blog_files/git.from.bottom.up.php



    Age Mooy Says:
    Posted at: January 28, 2009 at 10:18 am

    Thanks, that’s a really nice article !



    lowell Says:
    Posted at: January 28, 2009 at 1:24 pm

    git isn’t written in all caps.



    andhapp Says:
    Posted at: January 28, 2009 at 2:00 pm

    Peepcode has a good GIT Screencast as well.



    Age Mooy Says:
    Posted at: January 28, 2009 at 2:15 pm

    I don’t think it’s an either-or situation. I wrote GIT instead of git to signify it as a name and to give it some extra stress.



    lowell Says:
    Posted at: January 30, 2009 at 12:51 am

    it is.

    all caps is wrong and it’s annoying to look at.



    Age Mooy Says:
    Posted at: January 30, 2009 at 9:23 am

    You have my sincerest apologies. I have learned my lesson and I will from this day on better my life and use “git” instead of “GIT”. Seriously. Thank you.



    Jeroen van Wilgenburg Says:
    Posted at: January 30, 2009 at 8:31 pm

    Thanks for the links Age!
    I thought it was a lot of work to set up repositories etc., but within a few minutes I have everything running. Bye bye SVN! (or is that also with lower case?)



    git monthly links: 2009-01 « git blog Says:
    Posted at: February 1, 2009 at 5:54 pm

    [...] GIT 101: List of links to learn about git, from Xebia. [...]



    Giordano's Nest » Private git repositories on Site5 Says:
    Posted at: August 28, 2009 at 10:51 pm

    [...] post I tried to be complete and gather all the necessary informations. If you are new to git in this page you will find some useful [...]



Leave a Reply

Click here to cancel reply.

Deployment automation for Java application running on Websphere, WebLogic and JBoss

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India

Categories

  • Java (282)
  • Agile (109)
  • General (50)
  • Testing (42)
  • Performance (42)
  • Hibernate (36)
  • Scrum (33)
  • Podcast (31)
  • Architecture (31)
  • Spring (28)
  • SOA (24)
  • Maven (22)
  • Project Management (22)
  • Middleware (23)
    • Deployment (14)
  • Flex (17)
  • JPA (17)
  • Eclipse (15)
  • Xebia Labs (15)
  • Quality Assurance (14)

Tag Cloud

    Performance Xebia Closures Groovy Seam Lean esb IntelliJ Semantic Web product owner qcon Functional Programming Scala Introduction to Agile Maven Testing Hibernate JavaOne Poppendieck Grails fitnesse SOA XML Architecture Spring Java Agile Ajax Scrum Agile Awareness Workshop