I am using SourceTree 1.6. We are using precommit shell script GIT hook. In the hook we are asking the developer to input a value from keyboard and then that value is captured in a variable and used further. When I do a commit using 'git commit' command from GIT Bash Tool it stops for the user input , after the user enters the value the script is completed successfully. But when we do a commit from SourceTree, it seems the script waits for the input but I don't see the place where to provide the input. Can you please help ?
My script is something like this:
exec < /dev/tty
read -p 'path : ' user_entry
SourceTree 1.6 is no longer a supported version; it's available for download only for those that need it as a fallback for a specific reason. That said, interactive scripting triggered by commits isn't supported within the Sourcetree UI.
Senior Mac Developer, Sourcetree
Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going. The ...
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!
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