I am trying to clone connect a TFS server into my local desktop git repository. How do I resolve error below? I am trying to connect to local C:\ with a dollar sign.

git tfs clone "https://testserver.com/abcd/collection/" $/source/gittest --deep

Error:

The item $/source/gittest was not found in the repository.

Background:

in C:\Source\gittest

I wrote

git init

git add (comment: added some test source control files)

git commit

1 Answers

0
Community On

I went into directory C:\Source\gittest and removed the directory path (excluded source/gittest)

Command below:

git-tf clone "https://testserver.com/abcd/collection/" $/ --deep