This is not a reliable document to learn about Git source control but rather a learning note that we use while implementing Git source control within our BizVise development team. However, if you are as excited (about the latest Git source control support in Visual Studio 2013) as we do and are totally new to Git source control, you are most welcome to learn together.
For the Git experts, you are most welcome to correct us if you found us understand it wrong. Like i said, this is a learning note (not a reference).
Here’s what we understand:
1. Clone: After connecting VS2013 to team foundation service, programmer need to clone the repository (means the source codes) into your local repository so you have a local copy that you can work on.
2. Commit: After making changes, we can hit commit to save an image of what we change and write some note to the commit like description of what changes you made. But take note, commit does update your local repository and it does not update the online repository in our Team Foundation Server. To update the online repository, see no.3.
3. Push: To save our commits to online repository or to share your local code with other developers, we need to push our local changes to the online copy. That’s “Push”.
The above are the basic idea, but when we work as a team; the central code might get updates from other developers while you are working on your earlier snapshot in your local repository. So, the below command comes in handy.
4. Pull: To sync your copy with online copy while maintaining your code changes.
I suggest you to read the below to learn more about