免密码 git clone http
vim ~/.gitconfig
[user]
name = {name}
password = {password}
email = {email}
[credential]
helper = store
vim ~/.git-credentials
http://{name}:{password}@{githost}
免密码 git clone http
vim ~/.gitconfig
[user]
name = {name}
password = {password}
email = {email}
[credential]
helper = store
vim ~/.git-credentials
http://{name}:{password}@{githost}