Help with simple Custom Actions

OS: Windows 8.1  

SourceTree v1.6.5.0

How do I do a simple custom action through Sourcetree?

I have it pointing to a .bat file, which reads 

 

git push

 

And this just hangs when I trigger it through Sourcetree

 

If I go to a command prompt, navigate to the directory, then do "git push", it works as expected.

What am I doing wrong?

1 answer

What happens if you run the .bat file in the command prompt?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

718 views 3 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you