Posted 2024-10-31Updated 2024-11-01a few seconds read (About 81 words)Git本地账户切换1、运行如下命令查看当前Git用户 1git config user.name 查看当前Git邮箱 1git config user.email 切换Git用户名 1git config --global user.name YOURUSERNAME 切换Git邮箱 1git config --global user.email YOUREMAIL 2、Github账户将Github里获得的文件id_rsa和id_rsa.pub放入如下目录 1C:\Users\YOURACCOUNT\.sshGit本地账户切换https://meloncloud.github.io/changegitaccount/AuthorMelonCloudPosted on2024-10-31Updated on2024-11-01Licensed under#Git