使用git中的问题汇总
一、 解决本地项目绑定远程库时报错:
fatal: repository ‘https://github.com/HelloAllenW/’ not found
问题分析:远程库绑定错误
1、查看远程库:git remote -v
2、删除远程库:git remote remove origin
3、添加远程库:git remote add origin [远程地址]
其他:
1、查看当前用户:git config user.name
2、查看当前邮箱:git config user.email
3、修改用户:git config --global user.name [用户名]、
4、修改邮箱:git config --global user.email [邮箱]