0 Replies - 10909 Views - Last Post: 27 December 2010 - 09:42 AM

#1 macosxnerd101   User is offline

  • Games, Graphs, and Auctions
  • member icon

Reputation: 12680
  • View blog
  • Posts: 45,863
  • Joined: 27-December 08

Week #47- Git

Post icon  Posted 27 December 2010 - 09:42 AM

This week's challenge is to use Git. Thanks to Raynes for submitting this challenge!

Git is an insanely awesome DVCS (distributed version control system) designed by Linus Torvolds, the same fellow that brought us the Linux kernel and sliced bread. Git is a lean, mean, speedy version control machine.

Being a DVCS means that Git is not like SVN. With git, there is no central repository. Rather, you 'fork' repositories by cloning them, and then you work in your very own repository. Each 'fork' of a repository is a full-fledged repository with full history and everything. It is an exact clone of the other repository. There is no dependency on network access or some central server.

Git's typical workflow is to branch, do work, and merge with other branches when you're finished. Git is designed to make branching and merging fast and efficient.

Although Git is a DVCS, it can also function as a VCS in that you *can* have a central repository if you so please. Nonetheless, in most cases you would have a project and when people want to commit, they can fork that repository, do their work, then they can send you a path or a request to pull from their repository into yours.

Git is a very powerful and popular version control system. It's used by projects such as Android, Eclipse, Ruby on Rails, and Clojure. It is designed to scale for anything from small projects to very large projects. I have personally used it to version control everything from my largest projects to simple text files.

Git also has the benefit of having Github, a website that is offers free public hosting of repositories with a lot of neat features. If you check out git, make sure you check out Github as well. Github is a very impressive concept.

Getting Started
You can find download links and instructions for various platforms on the official git website: http://git-scm.com/

The guys at Github got together and made a reference site for Git. It might also function just as well as a bit of a tutorial: http://gitref.org/

The official git website also has a list tutorials and books and things of that sort here: http://git-scm.com/documentation

Have fun!

Is This A Good Question/Topic? 2
  • +

Page 1 of 1