These directions extend the Using Git from the Terminal or Git-Bash directions, and they provide the very basics to clone your repository into a Visual Studio project. Replace your credentials with these when completing this tutorial: user name is
newuser, with some password, and the remote repository is
After completing these steps, play around with the Team Explorer perspective to familiarize yourself with it. In addition, make some changes to your files and commit them after each change, then view your remote repository.
This section assumes you have Visual Studio installed on your system. If you are using your own computer, install Visual Studio Tools for Git.
Search for "Team Explorer", select "Clone", and add our server's information.
Look for the "Clone Successful" message.
You can add a homework folder if you choose.
Your folder should look similar to this.
We can create a new project for our first assignment.
Create a new project.
The project exists on the file system.
Now let's add files and commit the project locally.
Choose "Changes" in Team Explorer.
Configure your username and email address in Git.
Create a .gitIgnore file with at least the entry
*.opensdf so git will ignore this file.
Choose "Update" when you are finished.
Add a commit message and untracked files.
Success message after choosing "Commit".
Now let's synchronize the project with our remote repository on the Project Management server.
Choose "Home" in Team Explorer.
Choose "Commits" under "Changes" in Team Explorer.
Finally, choose "Sync" in Team Explorer.
Your Project Repository should now look like this.