Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

What kind of script can I run in SourceTree "terminal"? How? Where? ....

I want to run a script in Windows SourceTree terminal. What kind of script must it be ... bash? Where do I put the script so it can run in the terminal window? What has to be installed first? I am 100% new to sourcetree, so I am asking for any useful info on getting up and running with scripts, ... except writing the script itself. But if there is an environment variable or a useful snippet of script that I will need regardless of my script's main purpose, I'd appreciate that, too. Thanks.  

1 answer

0 votes
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 11, 2019

Hi

Yes Sourcetree uses the Git Bash terminal so you need to write bash scripts. The can be put anywhere on your file system as long as you can access the full path from the Bash Terminal. Alternatively the terminal opens in the current repository folder so you can put repository specific scripts into the repository folder itself.


Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events