Skip to content
How to make Egit remember password and username? I want to use a push and pull automatically in GitExtension, without entering my user and password in a prompt, every time.
I accidentally saved my git password in eclipse on a computer at school and couldn't find a way to remove it until now.
In this article, I’ll show you how to fix this.
– vedi0boy Jan 21 '16 at 14:30. add a comment | 6. But when I pull or push to the repository it indicates their username in the prompt: Password for 'https://theirusername@bitbucket.org': Bash script for git pull using username and password - gist:4600385 During the next communications with the remote Git repository you won’t have to provide the username and password. Have you ever encountered Git asking you for your username and password every time you try to interact with GitHub even after configuring it? I set my username and email in git: git config --global user.name "bozdoz" git config --global user.email email@email.com and they are identical to my username and email on bitbucket.org. So how can I save my credentials in git?
Well, this is a very common problem among users who use the HTTPS clone URL for their repository. The next time you git fetch, git pull, or git push to the remote repository, you'll be asked for your GitHub username and password. The https:// clone URLs are available on all public and private repositories. If you have two-factor authentication enabled, you must create a personal access token to use instead of your GitHub password. When credentials storage is enabled, the first time you pull or push from the remote Git repository, you will be asked for a username and password, and they will be saved in ~/.git-credentials file.