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

Is there a user manual for Sourcetree ?

burt stampfl January 4, 2016

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 votes
rrudnicki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 5, 2016

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 Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events