- 博客(3)
- 收藏
- 关注
原创 git commit 错误:SyntaxError: Unexpected token ‘{‘
git commit 后不成功 SyntaxError: Unexpected token '{'
2024-04-10 20:42:41 490 1
原创 解决 Please make sure you have the correct access rightsand the repository exists. 问题
提交代码时遇到:原因:公钥失效解决办法:删除电脑中.ssh文件 重设置用户名和邮箱和生成新ssh公钥一、删除.ssh二、打开git bash1.设置用户名:git config --global user.name 'xxx'2.设置用户名邮箱:git config --global user.email '123@xx.com'3.生成ssh文件:ssh-keygen -t rsa -C "123@xx.com" 后 一直回车即可三、打开gitLab项目地址 找到本地的.ssh 找到id_rsa.
2022-06-06 15:04:28 556 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人