前提・実現したいこと
Gitの使い方の練習でローカルリポジトリにpushするのですが、git push origin masterをするとエラーが発生します
ご助言頂けましたら幸いです。
発生している問題・エラーメッセージ
remote: Permission to 1account/samplegit.git denied to 2account.
fatal: unable to access 'https://github.com/1account/samplegit.git/': The requested URL returned error: 403
試したこと
①
git push set-url origin
https://github.com/1account/samplegit.git
入力後↓
fatal: invalid refspec 'https://github.com/1account/samplegit.git'
②
git push origin https://github.com/1account/samplegit.git
入力後↓
fatal: invalid refspec 'https://github.com/1account/samplegit.git'
③
git pull https://github.com/1account/samplegit.git
入力後↓
fatal: Couldn't find remote ref HEAD
補足情報(FW/ツールのバージョンなど)
git hub
ここにより詳細な情報を記載してください。
回答3件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。