Saturday, April 6, 2013

Git + Visual Studio 2012 + SkyDrive


SA,
--update
   this works for both Visual Studio 2010 and Visual Studio 2010

I faced a problem that I need to version my Visual Studio Projects across more than one PC.

I'm going to write how to do that easily using Git+SkyDrive

steps to do:

1- Get git

Install git from here : http://git-scm.com/download/win
Add git to path [optional]

2- Install SkyDrive App

You should use SkyDrive, DropBox, Google Drive, or any other online storage  to synchronize your projects on multiple PCs.

get SkyDrive from here: https://apps.live.com/skydrive


3- install Git Source Control Provider plug-in to Visual Studio

 Git Source Control Provider is a Visual Studio extension that integrates Git with Visual Studio.

open Visual Studio, go to Tools | Extension Manager, search online gallery for Git Source Control Provider and install it.

check this: http://gitscc.codeplex.com/wikipage?title=Installation&referringTitle=Documentation


-Install Git for Windows, or Git Extensions, or TortoiseGit
I'm using TortoiseGit.

-Add a new folder in your SkyDrive Folder

-Create your project there in your SkyDrive folder

-To create Git repository to an existing project: http://gitscc.codeplex.com/wikipage?title=Create%20Git%20Repository&referringTitle=Documentationsimply 
 -- you can do this using cmd

Finally, check this documentation: http://gitscc.codeplex.com/documentation



Have Fun :)