Cloning Git Repo using TFS Personal Access Token

后端 未结 4 1207
醉话见心
醉话见心 2021-02-02 17:23

I am trying to programmatically clone a git repository. My ASP.NET MVC application is creating and starting a process. The code to handle the processes works correctly however t

4条回答
  •  伪装坚强ぢ
    2021-02-02 18:05

    If you have a PAT, you should not need a password: the PAT would act as your username.
    See if the following works:

    git clone http://PAT@tfs2017:8080/tfs/DefaultCollection/_git/Git%20Repository
    

提交回复
热议问题