Install Stash with Git in a non-standard location

Jeff Strike August 14, 2015

Corporate policy does not allow us to install applications on the boot partition so I have Git installed in d:\Git.  When I try to install Stash, I get an error message saying it can't find Git.  How do I get around this?

Thanks.

1 answer

1 accepted

3 votes
Answer accepted
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2015

Update the Stash Properties file to point to your git location. It can be found in:

%STASH_HOME/shared/stash-config.properties

Then update the relative property like so...

plugin.stash-scm-git.path.executable=D:\Git\bin\git
Jeff Strike August 14, 2015

%STASH_HOME% is set to E:\Atlassian\ApplicationData\Stash. I have no stash-config.properties file anywhere under that directory.

GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2015

What version of Stash do you have? How about the 'shared' folder?

Jeff Strike August 14, 2015

v3.11.2 I checked every drive, I can't find that file anywhere...

GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2015

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events