You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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:
And if I fill in my information, this pop up will appear:
What am I doing wrong and how can I fix this?
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.