-1
中である私は私の古いユーザ名が使用
git config --global user.name
git config user.email
で変更を確認し、それが正しい名称を示し、これらのコマンドでgitのため
git config --global user.name "maa"
git config user.email "[email protected]"
を私のユーザーと電子メールを変更しました。私は古いユーザー名を押すと しかし使用されます。メタデータをコミットするために
git push -u origin master
remote: Permission to maa/brain.git denied to old_user_name.
fatal: unable to access 'https://github.com/maa/brain.git/': The requested URL returned error: 403
私はあなたの地元のgitのconfig名/電子メールはgithubのユーザーとその権限とは何の関係もないかなり確信しています。 Githubでもユーザー名を変更する必要があります。 –
'git remote -v'の出力は何ですか? –