You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This threw an error: "The system cannot find the specified file".
I thought this was due to an inability to connect to tfs or to the specified dir in TFS.
This was not the case. The issue was due to the git executable not being found on the system PATH. Adding git.exe ahead of git.cmd on the PATH env variable worked.
Note the error was thrown from GitHelpers.cs
protected virtual Process Start(string [] command, Action initialize)
..
var process = Process.Start(startInfo);
The startInfo contains the "startInfo.FileName = "git";"
The command git is not found.
Hope the above saves someone time :)
The text was updated successfully, but these errors were encountered:
Using
git-tfs.exe quick-clone http://mytfslocation:8080 $/mytfsdir MyNewGitRepo
This threw an error: "The system cannot find the specified file".
I thought this was due to an inability to connect to tfs or to the specified dir in TFS.
This was not the case. The issue was due to the git executable not being found on the system PATH. Adding git.exe ahead of git.cmd on the PATH env variable worked.
Note the error was thrown from GitHelpers.cs
protected virtual Process Start(string [] command, Action initialize)
..
var process = Process.Start(startInfo);
The startInfo contains the "startInfo.FileName = "git";"
The command git is not found.
Hope the above saves someone time :)
The text was updated successfully, but these errors were encountered: