git config file

 ssh-keygen -t ed25519 -C "xxx@example.com"
如果自定义.pub文件名
添加以下文件:
cat C:/Users/.ssh/config


Host github.com
HostName github.com
User git
IdentityFile C:/Users/.ssh/new-git


//配置http记住密码
git config credential.helper store --global

posted @ 2021-09-09 17:10  nanaindi  阅读(42)  评论(0编辑  收藏  举报