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
PATH
variable, which is why you're getting thecommand not found
problem.If you've set your path, using, as an example:
PATH=$PATH:$HOME/git-tf-2.0.2.20130214
, then thegit
command will allow the sub-commandtf
, which should work like the documentation suggests, as in:will work once you've set the
PATH
variable, otherwise you'll have to reference thegit-tf
command directly.The command that is extracted is
git-tf
, and git is smart enough to look for thegit-tf
command if you have set thePATH
and try to use the operationgit tf
.