**【Git】解决remote: ****: Incorrect username or password (access token)方法
与其他方式不同,即添加和修改凭证
这儿我们直接从源头上解决问题,即直接并跳过输入账号和密码的步骤
直接改变克隆的方式即可(手动滑稽)
1、使用ssh方式克隆 git clone git@gitee.com:Name/project.git
就是说,在项目克隆/下载处,选择ssh方式的下载地址
2、如果你已经用https方式克隆了仓库,不必删除仓库重新克隆,只需将当前项目中的 .git/config文件中的
url = https://gitee.com/Name/project.git
修改为
url = git@gitee.com:Name/project.git
再次提交就不需要密码了!
仅此记录一哈