سؤال

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 the command not found problem.

If you've set your path, using, as an example: PATH=$PATH:$HOME/git-tf-2.0.2.20130214, then the git command will allow the sub-command tf, which should work like the documentation suggests, as in:

git tf clone …

will work once you've set the PATH variable, otherwise you'll have to reference the git-tf command directly.

The command that is extracted is git-tf, and git is smart enough to look for the git-tf command if you have set the PATH and try to use the operation git tf.

نصائح أخرى

You better go with TFS Everywhere http://www.microsoft.com/en-us/download/details.aspx?id=4240

And use Eclipse like a client for your development in XCode.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top