Is there a user manual for Sourcetree ?

I'm new to Git and SourceTree and trying to evaluate it for use in our projects.

We have several product platforms that use 'shared' utilities/code, so I would like to create a repository with a sub-module for the shared source that can have different privileges than the project files.  But, I would like the project files for a given project to pull the 'shared code' from the sub-module(s) when cloned / pulled.

Am I even attempting to di this in the right way (sub-modules and project folders)? Is there a 'preferred' way to do this ?

Thank you,  Burt

1 answer

0 vote

Hi Burt, 

SourceTree is only a client to access your Git repo. If you want to manage who has privileges to access/push different pieces of code into your repo, you should do this on your Git Server. On Git, the sub-modules which you are looking for would be the branches from your repo. 

In case you are using (or planning to use) Bitbucket Cloud, on this documentation you will find how to restrict some permissions:

https://confluence.atlassian.com/bitbucket/branch-management-385912271.html

 

In case you are using Bitbucket Server (old Stash), we have a similar documentation:

https://confluence.atlassian.com/bitbucketserver/using-branch-permissions-776639807.html

 

Another useful feature to make easier you manage permissions to your repo would be creating Teams. Check out:

https://confluence.atlassian.com/bitbucket/creating-and-managing-team-repositories-665225545.html

 

Hope this helps. 

 

Regards,

Renato Rudnicki

Suggest an answer

Log in or Join to answer
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 ...

267 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot