What is GIT ?
Git is free and open source distributed version control system which handles small and large project very efficiently.Code posted using free account will be publicly available , for private repository you will have to buy paid plans of github.
Git has following features :
- Repository for your project
- Issues tracker for project
- Code review with code commenting and code highlighting
- Use Git Everywhere Desktop , On Web , mobile devices
- Good Documentation
- Easy to publish and host website using GIT HUB PAGES.
- Version Controlling.
Integration Git with Visual Studio :
For Visual Studio 2013 Git is included by default.
Using Git with Visual Studio :
After Installing Git extension for Visual Studio ,whenever you will create a new project it will ask you to check "Add to source control" check that property.
View > Team Explorer
Step3: Apply Git Setting :
If you have user on github website then add the same credentials here otherwise Create a user on Github website then do the Setting.
Step4: Create a Repository on Git hub :
Login with your credentials on http://github.com and create a repository so you can map your Visual Studio Project.
Step5 : Publish your project to Remote Repository :
From screen Team Explorer click on Commits under Changes tab.Following screen will appear:
Give URL of repository you have created on github website and click on publish.Then Move to Home Screen and Give Commit Comment and Click on Commit.Come on Commits
Click On Push and your project will get uploaded. :) :) :)
Go on URL you will find your project there .
This is just a basic article which describe how to use Git with Visual studio and upload your project to guthub. Github provides many features which will be covered in my upcoming articles :) .