Git tf Path Already Mapped

Running with Visual Studio and Team Foundation Server with different projects in the DefaultCollection. Using the great tool called Git-TF you can pull and work with git while still having tfs as your default vcs. E.g. Xcode can’t connect to tfs so pulling to a git and running your Xcode project from the git repository you can still use collect to your tfs.

Android Studio comes with Git, gitHub, Mercurial and Subversion but no tfs. But you can use git-tf to do the trick. The issue you might hit is the following when trying to checkin your commits with git tf.

git-tf checkin
git-tf: The Path D:\workspace\Android\.git\tf\.. is already mapped in the workspace.

This was on a PC with MS Visual Studio already running from tfs, the problem was due to the folder was mapped in Visual Studio, after removing the mapping you can checkin your commits successfully.

Posted in Android, ErrorFix, Linux, Mac, Windows