Git (1.7.10) asks me every time for username and password

Since I have a new version, it no longer asks me about the password that I set in my ssh key file.

Now it requests directly for the github username and password when I click every time.

Is this a new git feature or has it changed in the past or is there something that has changed on github?

I tried to authenticate with ssh and the email and password from my ssh key file and it worked.

GitHub changed to smartftp and also changed repository setup instructions

https://github.com/blog/1104-credential-caching-for-wrist-friendly-git-usage

https://help.github.com/articles/create-a-repo

See this later, now they use https instead of the default git protocol

+8
git version-control github ssh credentials
source share
3 answers

I came across this the other day when I cut and pasted new repository instructions on GitHub. Someone should probably write a bug report because it confuses almost everyone I know.

The problem is that the instructions indicate that you are creating a remote server that uses the https protocol, not the git protocol. I usually use:

github_username=CodeGnome git remote add origin "git@github.com:${github_username}/${PWD##*/}.git" git push --tags --set-upstream origin master 

to populate a new GitHub repository from an existing local.

+5
source share
 git config --global credential.helper cache git config --global credential.helper 'cache --timeout=3600' 

you only enter your username and password the first time you press, after 3600 or 1 hour you click without a username and password.

timeout you can set your number.

+3
source share

With https addresses, you have another option (besides password caching ):
Using the _netrc file, which will contain your username and password, in a HOME session (or .netrc for bash).
Please note that Windows is not installed by default.

 machine github.com login <login_github> password <password_github> 

See also " Git - How to use the .netrc for Windows to save user and password .

(Other options in Sync with github ")

+2
source share

All Articles