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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,552,599
Community Members
 
Community Events
184
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?

1 answer

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 02, 2022

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,
Theodora

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events