fatal: could not read Username for 'https://code.google.com': Device not configured

Upon attempting to push to my project repo, I receive the following message:

fatal: could not read Username for 'https://code.google.com': Device not configured


This is similar to the following question: https://answers.atlassian.com/questions/128009/how-can-i-fix-the-error-fatal-could-not-read-username-for-https-github-com-device-not-configured, I'm not sure whether or not this is impacted based on the fact that the repo is Google Code and not Github.

I made sure the username and password for this was correct in the keychain and tried using both the embedded Git and the system Git with the same results. I've managed to get it working using Git in terminal, but SourceTree doesn't seem to want to cooperate.

Does anyone have any ideas as to what I could do?

1 answer

1 accepted

1 vote
Accepted answer

It's all right now. Apparently I had to configure it in the setting on Google Code. Hooray!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

966 views 4 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you