Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make Egit remember password and username?

Tags:

git

eclipse

egit

I'm working onn a project in Eclipse hosted on Github. Everytime I want to push, a dialog pops up asking for username and password. Anybody know how to save these so I don't have to keep typing them in everytime? I'm using Egit in Eclipse 4.2.1

like image 248
sfendell Avatar asked Mar 11 '13 04:03

sfendell


People also ask

How do I save my Git username and password in VS?

Steps to add git credentials in vs code Step 1: Download git from the official website https://git-scm.com and install it. Step 2: When you're finished installing Git, start Visual Studio Code and verify that Git is now identified. Step 3: Start a new Terminal and configure your 'user.name' and 'user.


1 Answers

Struggled with this for a while too:

  1. Go to the Git Perspective -> Expand your Project -> Expand Remotes -> Expand the remote you want to save your password.
  2. Right-click on the Fetch or Push -> Select Change Credentials...
  3. Enter username and password -> Select Ok

This is the workaround I've found to work. It's a bit manual for each Git project, but it works ^_^.

like image 156
Sean Snyder Avatar answered Sep 18 '22 15:09

Sean Snyder