Search code examples
gitvisual-studiotfsgitkraken

Connect TFS to GitKraken


I'm currently designing an WPF / C # project under visual studio. So I have a TFS server as source manager and stories management. This one is also in connection with TeamCity.

Nowadays given the very bad management of the version branches since tfs, I would like to pass by real tool that GitKraken (or others that would be compatible).

The problem is that I do not know what URL applied in Gitkraken knowing that my repositories are not Git ...

the URL: https://[Name].visualstudio.com/DefaultCollection/[ProjectName] does not work or at least the following error is returned :

"Could not connect to 'origin'. Double-check your remote url, then make sure you have access to do action..."

Can a software such as GitKraken connect via TFS without it being a Git server?


Solution

  • It's not able to directly use TFVC repo with GitKraken. One way to do the trick is migrating the TFVC repo to GIT repo.

    TFS2017update2 provides a simple migration tool to migrate from Team Foundation Version Control to Git. Individual folders or branches can be imported to the Git repository, or the entire TFVC repository can be imported (minus the branches). Users can also import up to 180 days of history.

    For changing TFVC to GIT, some limitation please refer this tutorial:Migrate from TFVC to Git

    On earlier TFS version, you could use Git-TF command line tool.