I have to use TFS for my Mac machine for iPhone app development. So that I have used the following step as from the Git-TF_GettingStarted.html
Extract the contents of Git-TF-Release-Preview.zip to a folder on your local machine, i.e. C:\git-tf on Windows, or /user/git-tf on Mac/Linux. for installation.
But while giving the command "git tf clone http://myserver:8080/tfs $/TeamProjectA/Main "
an error is coming as
git: 'tf' is not a git command.
Then I have removed the tf from the command, at that time it get worked and asked the username and password, but authentication get failed.
How can I resolve this issue?, if anybody has idea then please help me.
You haven't actually set your
PATHvariable, which is why you're getting thecommand not foundproblem.If you've set your path, using, as an example:
PATH=$PATH:$HOME/git-tf-2.0.2.20130214, then thegitcommand will allow the sub-commandtf, which should work like the documentation suggests, as in:will work once you've set the
PATHvariable, otherwise you'll have to reference thegit-tfcommand directly.The command that is extracted is
git-tf, and git is smart enough to look for thegit-tfcommand if you have set thePATHand try to use the operationgit tf.