Following an answer (http://goo.gl/EcqpTZ) here’s what I did to setup the Git Bash environment to log me in once when I start it up. This method worked for me to make “remember me” working or to save my password for my local git account so I dont have to type it everytime I want to do a push or pull.
I started gitbash and it said:
Welcome to Git (version 1.7.11-preview20120620)
Run ‘git help git’ to display the help index.
Run ‘git help
I did two different commands, one per line, as:
eval `ssh-agent`
ssh-add
ssh-add
The detailed example is as below:
admin@ADMIN-PC ~
$ eval `ssh-agent`
Agent pid 8928
$ eval `ssh-agent`
Agent pid 8928
admin@ADMIN-PC ~
$ ssh-add
Enter passphrase for /c/Users/admin/.ssh/id_rsa:
Identity added: /c/Users/admin/.ssh/id_rsa (/c/Users/admin/.ssh/id_rsa)
Now on I dont have to retype my password.
admin@ADMIN-PC /c/wamp/www/yourproject (master)
$ git push origin master
Everything up-to-date
$ git push origin master
Everything up-to-date