Wednesday, October 22, 2014

How to Integrate Visual Studio with Github Repository

Note:-  This Article is featured as the article of the day at Asp.Net Community.

Introduction:-This articles describes how to integrate visual studio with github repository and commit your local changes to github repository.

Step 1:-Install ankhsvn from here and integrate with Visual studio as describe in this article.

Step 2:-Install tortoisesvn from here

Step 3:- Create New Repository in Github as shown below




Step 4:- Copy the Subversion Checkout URL of the Repository as shown below:-


Step 5:- Right Click on desktop or wherever you would like to create your project folder and select SVN Checkout.

Step 6:- Paste the copied Checkout url from step4 in the URL of Repository Field and click OK as shown below:-

Step 7:-Now create new Project in Visual Studio and select location of that project as the trunk folder of the previously created checkout directory and also add that project to Subversion and click OK as shown below:-


Step 8:- It will asked you would like to mark Demopurpose.sln as managed by Subversion, say yes.


Step 9:- Now Right Click the Solution and select Commit Solution Changes, in order to commit local changes to Github.


Step 10:- Add any new Item in the application, build the application and then commit it as shown below.




Step 11:- Confirm your local changes to Github by browsing through your Github repository


Hope you enjoyed it!!!










1 comment: