0
1

More than 1 year has passed since last update.

GitHubで複数アカウント登録してハマった話

Posted at

GitHubでアカウントを作り直して、GitHubにアクセスできなくなってハマったので、メモ。

1.GitHubでAAAというユーザーを新規作成。
2.sorceTreeにてローカルリポジトリをプッシュ。
3.GitHubでBBBというユーザーを新規作成。
4.sorceTreeにてローカルリポジトリをプッシュしようとして、エラー。

<参考サイト>
①gitの複数アカウント管理で詰まった「ERROR: Repository not found. fatal: Could not read from remote repository.」
https://www.virtual-surfer.com/entry/2018/04/21/212704
②【GitHub】SSHキーを追加しても接続失敗する場合の対処法(fatal: Could not read from remote repository.)
https://inno-tech-life.com/dev/infra/git_ssh_err/

②の「ssh-agentからSSHキーを削除」で解決しました。よかった。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1