当我尝试推送Windows机器时,出现以下错误:
$ git push -u origin master
remote: Permission to XXX/YYY.git denied to ZZZ.
fatal: unable to access 'https://github.com/XXX/YYY.git/': The requested URL returned error: 403
问题是,我找不到" ZZZ"用户在设置中的任何位置提到。我已经清理了~/.gitconfig
和~/.ssh/config
,我应该在哪里寻找它?