How to make Egit remember password and username?

sfendell picture sfendell · Mar 11, 2013 · Viewed 37.8k times · Source

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

Answer

Sean Snyder picture Sean Snyder · Apr 21, 2014

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 ^_^.