Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How can I authenticate my information with a submodule repository?

I'm trying to access three old submodule repos for work that Ive been given access to again recently.

If I clone these repos on their own, I can successfully access them and make changes to them, but if I try to access them as submodules in the main repository, my authentication fails.


Every time I try to access the submodule repos through the main repo to clone them onto my computer, im met with this pop up:

Screen Shot 2022-09-01 at 4.14.50 pm.png

And if I fill in my information, this pop up will appear:

Screen Shot 2022-09-01 at 4.15.59 pm.png


What am I doing wrong and how can I fix this?

2 answers

1 vote

Hi @RGVincent,

If you are using an HTTPS URL for the submodules in the .gitmodules file, this is a prompt to enter your Bitbucket credentials (username + app password). If there is a credential helper set on your machine, your credentials should be saved and used in subsequent git operations.

I would like to ask for some additional info so we can better help you:

1. Are you using a command-line application to clone, or some Git GUI client? And if it's a Git GUI client, which one is it?

2. What command are you executing when you get this prompt for credentials? Is it git submodule update or something different?

3. Are you cloning the main repo via HTTPS as well, and if so, do you get asked to enter credentials?

4. What is the output of these two commands from a terminal on your machine? These will show if a credential helper is used by Git and if so, which one

git config --system credential.helper
git config --global credential.helper

Kind regards,

Hi Theodora,


  1. Im using source tree to access this repository.
  2. Im not too sure, its an automated command source tree uses when I try to access a sub module in the repo.
  3. Im not cloning via HTTPS, im cloning using the bit bucket clone to source tree.
  4. Im not getting any information from either command.

Obecně vím, ve kterých kasinech se nyní můžete dobře bavit, a mohu vám s touto otázkou pomoci, protože opravdu rád pomáhám lidem. Chtěl bych vám říct, že nejlepší kasino, které jsem se snažil hrát, můžete najít sami na této stránce . Je to opravdu velmi dobrá volba pro poměrně velké výdělky a příjemné hraní.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events