1.设置 username 和 email(github 每次 commit 都会记录他们) git config --globaluser.name"Leader755"git config --globaluser.email"1181012791@qq.com" 复制 2.通过终端命令创建 ssh key //其中 your_email@example.com 为你在 GitHub 注册时的