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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cloning Submodules

My company is switching to Git for our newest source control software, and we are running into a few problems with it. We have a central Git repository with its own IP address, and users that can connect to this central repository to push and pull from.

When working with submodules, we are running into a big issue. If I push from my local repository to the central repository, nobody else can clone that material unless they use my username and password. We are using Git Bash for command line and SourceTree for our User Interface. We have looked at creating a shared group for our Git repo, but it seems very unsecure so we don’t want to go that route.

Is there any way around this? The ideal scenario is to have somebody push their local to the central repository, and any other user has the ability to clone that repo with their own username and password, without using GitHub or BitBucket.

1 answer

Hi Kyle,

There's a few reasons this can happen. First and foremost it would be because the other users don't have read access rights to that submodule repository, so make sure they've got access. Secondly, the submodule repository might be user-specific. By this, I mean it's something along the lines of and so every other user who updates will be trying to authenticate with that user. To fix this, get rid of the user-specification from the URL format so it's You can do this from SourceTree by context-clicking on the submodule in the sidebar and hitting "Change Source URL..." as shown below.

Hopefully that helps, if not feel free to ask more questions.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Training & Certification

Atlassian Cloud 101: Start quickly with free training

Free training for Jira, Confluence, and Jira Service Management Start faster and be more productive with Atlassian cloud products. Take the guess work out of where to begin, and gain confidence wi...

80 views 3 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you