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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

431 views 0 1
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