eclipsetfsteam-explorer-everywhere

Can't clone TFS Git Repository using Team Explorer


i can't clone TFS Git Repository to Eclipse Photon Release (4.8.0) using Team Explorer Everywhere. Error occurred when trying

Error cloning the **Project Name** repository.
**url clone**: not authorized

I checked the permissions of the repository, and I seem to see that I have read permission.

What permissions should I have specifically?

I also tried to import it through File -> Import -> Projects from Team Foundation Server but the project is empty.


Solution

  • What permissions should I have specifically?

    In TFS(Azure DevOps Server) Individual repositories inherit permissions from the top-level Git Repositories entry. Branches inherit a subset of permissions from assignments made at the repository level. For branch permissions and policies, see Set branch permissions and Improve code quality with branch policies.

    enter image description here

    With Readers permission, you should be able to clone the Git repo. However, a ccording to TFS permission setting, most groups and almost all permissions, Deny trumps Allow. If a user belongs to two groups, and one of them has a specific permission set to Deny, that user will not be able to perform tasks that require that permission even if they belong to a group that has that permission set to Allow.

    Please double check if you are deny in some other group (as a member of) which may cause this issue.


    A way to narrow down your issue related to permission or any other things such as Team Explorer. You could use git command line instead, try to directly git clone files from TFS repo by using git command line. See if this works in your side.