Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7441539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:01:55+00:00 2026-05-29T11:01:55+00:00

I am student, and very new to version control software so I am having

  • 0

I am student, and very new to version control software so I am having trouble figuring this out. I am using a Google code Git repository. To access this repository I am using Git Bash on Windows 7. The problem is that when I reach the push step, I am not being prompted for a password. For example:

First I set global variables like this:

git config --global user.name "Your Name"
git config --global user.email youremail@gmail.com 

Cloned

$ git clone https://UserName@code.google.com/p/repository/

Then I made changes to files / added new files etc. and added

$ git add .

Committed

$ git commit -m "Message"

Pulled to make sure I am up to date

$ git pull
Already up-to-date.

But when I push I am not prompted for password

$ git push origin master
fatal: remote error: Invalid username/password.
You may need to use your generated googlecode.com password; see https://code.goo
gle.com/hosting/settings

Any suggestions? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:01:56+00:00Added an answer on May 29, 2026 at 11:01 am

    Edit: Looks like you can’t access google code successfully by putting the username in the URL (at least as of August 2011), see this: netrc not accepted by git


    That said, this might work:

    Taken from the URL shown above (you have to visit the site):

    For Git repositories, you can add the following line to your .netrc file recording your password for each repository domain you have commit access to. Make sure you have set the permissions on .netrc so that only your user account can read it.

    machine code.google.com login blah.blah@gmail.com password mypasswordXXX123

    Once you have the above item, it looks like in Git Bash you should be able to update your _netrc file like this:

    echo "machine code.google.com login blah.blah@gmail.com password mypasswordXXX123" > $HOME/_netrc

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is probably a very easy question. Hey I'm a student and relatively new
Iam asking this because iam very much new to stored procedure. Can any help
I am very new to Dynamics. I'm trying to figure out if I can
Very simply, I need to find student grades using SQL. If, for example, I
I'm very new to PHP, SQL I've worked with using Coldfusion but only with
I am a student studying software development, and I feel programming, in general, is
I'm a CompSci student, and fairly new at C#, and I was doing a
I'm a Engineering student and I'm attending a Database and Information Systems class this
I'm a student of web development (and college), so my apologies if this comes
I am very new to Android development. I am converting my iPhone app to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.