This is the first post in a serie of two on how to use a git repository in Team Foundation Service when working in Eclipse. The second article is Configure Eclipse to use Team Foundation Service with Git.
- You don’t need git-tf to make this work because that is used if your project has Team Foundation Version Control as Version Control. We’ll only be using Git here so git-tf is of no use!
- Microsoft also has an Eclipse extension named Team Explorer, but we won’t be needing that one neither.
To get started we first make the necessary settings in Team Foundation Service.
- Login to Team Foundation Service and click on
New Team Project + Git.
- Fill out the project name and select
Gitas Version Control.
- When the project is created click on
Navigate to Projectto open it up.
Click on your name up in the right corner, of the TFS website, and click on
My Profilein the menu that opens. Click on
Enable alternate credentialsand enter a password that can be used by Eclipse.
- By clicking on the
Codemenu we can see the URI to use when cloning the git repository. In our case it’s
Your git repository on the Team Foundation Service is not ready to be used by Eclipse.