I am trying to clone a TFS repository using git-tfs.
It works great with TFS projects that don´t have a space in the name, such as:
git tfs clone http://tfs:8080/ $/TeamProject/folder
But I also have some projects/folders that has both spaces and swedish characters in it:
git tfs clone http://tfs:8080/ $/TeamProject/my swedish åäö folder1/folder2
When I run the command I get:
The item $/TeamProject/my swedish åäö folder1/folder2 does not exist at the spcified version.
Any suggestion how to fix this?
Here's a working example of cloning a TFS (TFVC) repository using git tfs
where the TFS (TFVC) repository contains spaces:
git tfs clone http://tfs:8080/ $/"Team Project/Folder Name"
The key "trick" to making it work is to put the double quotes around the team project / folder name (but don't put them around the $/
part).
i.e. $/"Team Project/Folder Name"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With