Install Git-TFS without Git

Currently, the only way to install the Git-TFS bridge is through Chocolatey . However, when I tried, he installed Git (for Windows) along with the actual Git-TFS package. I already have Git installed on my working computer, so I don’t need to change / delete it, which is already there.

Is there a way to get Chocolatey not to change my current Git installation and just put -tfs in the Git package? If so, how to configure it for use with my current Git installation?

+7
source share
4 answers

I cannot speak for other git clients, but if you use the git-bash shell, you can download the source for git-tfs from github, compile it and put it anywhere in your system and add this place to the path environment variable. The shell will find git-tfs and plug it in.

+3
source

The easiest way is to install the Git bridge, while maintaining the Git installation in a custom directory, which you can easily do using the Portable app for official Git for Windows (that is, you can simply unzip it anywhere).

From there, using your Git installation, you will mainly find global configuration settings that are located in %HOME%/.gitconfig . So make sure you have HOME , and bot Git (yours and the one installed by the bridge) will use them.


Now, if you do not need a portable installation (or a complete recompilation, for example, edwinf , suggest in his answer ), then ferventcoder (a member of the chocolate organization ) offers to look / comment on issue 131 in a comment:

Add a switch to ignore dependencies during installation (something like -ignoredependencies )

+3
source

You can download git-tfs .

No need to use chocolate! (But chocolate is a very good tool;))

+1
source

Just download and extract the latest build and put this directory in your PATH.

0
source

All Articles