git pedindo senha todas as vezes
# it will ask just one more time
git config --global credential.helper store
Marton
# it will ask just one more time
git config --global credential.helper store
$ git config credential.helper store
$ git push https://github.com/repo.git
Username for 'https://github.com': <USERNAME>
Password for 'https://[email protected]': <PASSWORD>
# start ssh-agent to remember key
eval $(ssh-agent)
# add and save key permenantly on linux
ssh-add ~/.ssh/id_rsa
# for permeenant save on mac
vim ~/.ssh/config
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
# write and close (:x) force close (:q!)