Git Init – Start learning Git

Recently I started learning/using Git source control for my personal projects. Not yet settled on any particular project but hey, its fun to learn Git at least. I personally use GituHub or Bitbucket for my projects.

Git is a distributed version control system. Meaning every developer can have full source code copy in his machine. You can find a good discussion over here why to use Git over TFS.

Coming from TFS world, Git terms will confuse a little bit initially. So hear are the details I followed to understand some of the common tasks of the Git. The following cheat sheet might help you to start with. Table source

TFS Version Control Git
Workspace Repository (aka. “Repo”)
Get Latest  (First time) Clone
Get Latest (After first time) Pull
Check in Commit + Push
Check out (just start typing)
Branch Branch
Merge Merge
Code Review “pull request”
Shelveset Stash or Branch
Label Tag

I am a single developer on my projects. So chances of merge conflicts are less. But as the number of developers increase in the project you start facing merge conflicts. I am currently using KDiff3 as merge conflict resolver.

Apart from this, start learning Git online in the following links.

https://try.github.io

http://pcottle.github.io/learnGitBranching/

Once you are comfortable, start with these open source projects to use your Git skills.

http://up-for-grabs.net/#/

 

 

 

Advertisements

Author: Sridhar Pasham

I am a web developer works mostly with Microsoft technologies. I like to blog about code, web and technology. My blog is at sridharpasham.com. You can find me in twitter at @pashsridhar . You can know more about my professional background at linkedin.com/in/sridharpasham

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s