5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GitHubを二段階認証に変更後git cloneができないエラーの対処方法

Last updated at Posted at 2021-03-17

githubを二段階認証に変更後に起こるエラーの対処方法
GitHubに二段階認証を設定した後にGit操作できない時の解決策

でも解決しなかった点。

git clone ができない

C:\git\myrepo-doc>git clone https://github.com/myrepo-doc/doc
Cloning into 'doc'...
remote: The `myrepo-doc' organization has enabled or enforced SAML SSO. To access
remote: this repository, you must re-authorize the OAuth Application `Git Credential Manager`.
fatal: unable to access 'https://github.com/myrepo-doc/doc/': The requested URL returned error: 403

解決策

Open Credential Manager in Windows and delete the existing credential for github.com

Windows 10 における 資格情報マネージャ を開く。
コントロール パネル > ユーザー アカウント > 資格情報マネージャー

Windows 資格情報の以下を削除する
image.png

関連

5
3
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
5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?