问题记录
可以git add ,git commit 但是不能gIt push 报错误
luo_wei@hoperun:~/luowei/interface_native_header_liuwei_2$ git push
remote: [session-f844d7a3] Access denied
fatal: unable to access ‘https://gitee.com/luo-wei246/interface_native_header_liuwei_2.git/’: The requested URL returned error: 403
解决方法:
ls -ltar 查看全部的文件
删除根目录下的.git-credentials文件
再次git push
填写用户名 用户密码 就好了
ssh -T git@gitee.com
使用的是https连接就要输入用户名和密码,如果用的是ssh连接就要配置sshkey