According to this article:
https://confluence.atlassian.com/sourcetreekb/using-git-in-custom-actions-785323500.html
In Windows, I should be able to call "%USERPROFILE%\AppData\Local\Atlassian\SourceTree\git_local\mingw32\bin\git.exe" as the script to run in a custom action.
This does not work for me, and fails in the same way as a bad path would.
Calling %USERPROFILE%\AppData\Local\Atlassian\SourceTree\git_local\mingw32\bin\git.exe from a command-line prompt executes the embedded git just fine.
It also works if I use c:\users\[username]\AppData\Local\Atlassian\SourceTree\git_local\mingw32\bin\git.exe as the custom action script.
Has anybody else been able to call the embedded git in a generalized way (using enviornment variables)? Did you do anything different from what I have done?
I am running SourceTree version 2.0.19.1.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.