I've installed msysgit [msysGit-fullinstall-1.7.4-preview20110204.exe
] on Windows 7 64-bit, and extracted git-tfs [GitTfs-0.11.0.zip
] into a directory on my machine.
I've setup both the msysgit installation directory (e.g. C:\software\msysgit\msysgit
) on the PATH
as well as the directory to which I extracted git-tfs (e.g. C:\software\GitTfs-0.11.0
).
I run msys
, and then attempt to run git tfs
but I receive the error:
git: 'tfs' is not a git command. See 'git --help'.
According to https://github.com/spraints/git-tfs/wiki this should be possible.
What have I missed? Just running git-tfs
from the command line (cmd
) doesn't work either.
Thanks,
James
Best Answer
It seems that whitespace anywhere in the PATH variable causes git to freak out and ignore all the paths after that. Adding the path to your tfs directory at the start of the PATH variable should solve it.
Examples using the bash prompt that comes with msysgit
did not work
worked fine for me.