remote: Permission to xxxxx.git denied to xxx. fatal: unable to accees
最近不止一次遇到这个问题了,大概跟我修改git密码有关,索性记录一下:
第一步:
cd 到项目中,编辑 .git/cofig中的urlvim .git/config将[remote "origin"]url = https://github.com/git的用户名/项目名称的url改为url = https://git的用户名@github.com/git的用户名/项目名称第二步:
执行:git push -u origin master