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 9103681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:41:24+00:00 2026-06-17T01:41:24+00:00

I just connected to GIT from Eclipse Juno using EGit, and successfully cloned a

  • 0

I just connected to GIT from Eclipse Juno using EGit, and successfully cloned a certain remote repository. During the clone I entered my Github username and password, but chose not to save them.

Then I tried to “Fetch from Upstream”. I got this error:

https://github.com/biunlp/nlp-lab.git: not authorized

I had no chance of entering my username and password…

This is strange since I connected to this repository in order to clone…

  • 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-06-17T01:41:25+00:00Added an answer on June 17, 2026 at 1:41 am

    Update 2022: In what follows, always use:

    • a App password, not your account password (see blog post).
      So create your app password.
    • a BitBucket Cloud, since BitBucket server will be discontinued in Feb. 2024.

    A. To specify credentials individually for each remote

    1. Open Git repositories view,
    2. open "Remotes > origin > <your push url>"
    3. click "Change Credentials…"

    push menu

    (From User Guide – Resource Context Menu)

    B. To specify credentials per server

    If you want to access multiple repositories on the same server without providing the same credentials multiple times, you may use .netrc. With this, eGit will use the configuration you provide.

    1. Create a text file called .netrc (_netrc in Windows) in the user home directory.
    2. Add content to the file in this form:
        machine my.server1.com
        login yourUserName
        password yourPassword
    
        machine my.server2.com
        login yourUserName
        password yourPassword
    

    The Stash documentation contains more information about .netrc

    Security issue The problem with using .netrc this way is that the password is visible in plain text. Refer to this answer in Stackoverflow to solve that problem.


    More secure option (2022): EGit (from issue 441198) can be made (with an extension) to recognize a native Git credential helper, using a secure encrypted cache:

    • install a native Git

    • install the GCM (Git Credential Manager), which is cross-platform, and already package with Git For Windows for instance.

    • instruct EGit to look for credentials in the GCM: gitflow-incremental-builder/gitflow-incremental-builder

    • register your password or token in said GCM

      printf "Host=my.server1.com\nprotocol=https\nusername=yourUsername1\npassword=passwd1" | \
      git credential-manager-core store  
      # and:  
      printf "Host=my.server1.com\nprotocol=https\nusername=yourUsername1\npassword=passwd1" | \
      git credential-manager-core store
      

    Look for executable git-credential-manager-core, and add its folder to your %PATH%/$PATH.

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

Sidebar

Related Questions

Is there a way to git svn dcommit from a cloned git-svn repository :
Just want to ask can netbean IDE get connected to clearcase remote client server
Just trying to pull off some SMART info from connected Hard Drives on any
Simply, I'm just looking to get a list of connected remote disks. I have
Scenario: I've just connected to a stream, and created a new repository workspace. I
I've just installed GIT on my work machine (Windows 7) connected to the domain
I just installed git on my windows machine using git's how to guide ,
Hi I've been trying to access my git repository from XCode 4. Everything works
I just installed netbeans and connect to my git repository throught ssh. Everything works
When I try to clone from git git clone http://github.com/symfony/symfony.git d:/www/a/vendor/symfony I get an

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.