Git push without username and password

ssh-keygen -t rsa
paste key to github website
after config ssh key
git remote set-url origin git@github.com:username/repo.git
原文地址:https://www.cnblogs.com/otfsenter/p/9692646.html