mac下git push每次都需要输入账户密码解决

创建并且写入.git-credentials

alex:/ $ cd ~
alex:~ $ vim .git-credentials
https://username:[email protected]
# username 就是你的用户名
# password 用户密码
alex:~ $ git config --global credential.helper store

猜你喜欢

转载自blog.csdn.net/qq_26003101/article/details/114115464