Share your code

After you commit changes to your local Git repository, and you're ready to share them in Visual Studio Team Services, check them in.

git commit -a
git tf checkin

If you've committed multiple changes locally, you'll still get just one changeset in Visual Studio Team Services.

Resolve a bug or close a task when you check in by providing the work item ID with the resolve flag.

git tf checkin --resolve=21972

The changeset and the work item are linked, and you'll be able to see which bugs are resolved and which tasks were completed in the build reports.

You can make sure you're working with your team's latest code by pulling from Visual Studio Team Services.

git tf pull

Use git tf help to learn about the Git-tf commands.

Q&A

Q: Should I use Git or TFVC for my team project?

A: That depends on a number of factors, like the size of your codebase and the size and distribution of your team.
Learn which version control (Git or Team Foundation Version Control)
works best for you.

Q: If my team project uses Git Version control, can I still share my Xcode projects in Visual Studio Team Services?