pull a sourcetree managed repository from Matlab or command line



I use sourcetree with github to manage versioning of code I write in Matlab and I'm a very basic level user.  On some of the systems which use the code I would like Matlab when it starts to automatically pull the latest version of the code.  Is it possible to execute sourcetree invisibly (i.e. without gui) from the command line, make it pull a named repository and then shut back down? I know it's possible to use other git managing tools to do this but would rather not have 2 programs managing the same repository on the same computer (is this even possible?).


Many thanks for any advice



1 answer

SourceTree just executes commands for some form of the git command line client. You should probably execute those same commands. If you consider SourceTree and the git command line client to be separate programs for managing the repo, then you've already got 2.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
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