pull a sourcetree managed repository from Matlab or command line

 

Hi

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

 

Adam

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
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...

715 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