Click here to Skip to main content
Click here to Skip to main content
Technical Blog

Tagged as

Looking at Git and GitHub

, 4 Oct 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
The things that make Git different from other version control systems

Recently, I decided to take a look at Git and start checking what are the things that make it different from other version control systems.

First Git was initially designed and developed by Linus Torvalds for Linux kernel development. It is a distributed version control system, usually used from the command line console.

Git was designed based on the experience with Linux in maintaining a large distributed development project. The focus was on speed, distribution, fidelity and no corruption of files.

In Git, you get the project doing a clone instead of checkout. This command gets a full copy of the database, getting every version of every file of the project and not the last version like you do on subversion, this allows you to execute commands like diff offline; as a result commands run faster because they don’t have to go over the network.

According to GitHub intro to Git the size of the projects are smaller compared to svn, even when the git version is storing all version information of files.

One option to start experimenting with Git is using GitHub which is a social code hosting - community oriented. You can create a free account for open source projects.

To get started in GitHub, you must have a SSH public key to push your git repo.

For Windows:

  • Install Msysgit, run it C:\msysgit\msysgit\msys.bat
  • Generate ssh-keys in win/msysgit
    • Execute ssh-keygen cmd on Git Bash console
    • You need the public key located in the .ssh directory for example C:\Users\mmarcano\.ssh\ id_rsa.pub

Once you have setup the github account, you can create new repositories, import existing git repo or import an existing public svn repository like googlecode.

Here are some links for additional information:

Enjoy! =)

Tags: ,


License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

mariangemarcano

Denmark Denmark
No Biography provided

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141030.1 | Last Updated 4 Oct 2010
Article Copyright 2010 by mariangemarcano
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid