LoginSignup
20
19

More than 1 year has passed since last update.

Git PushしたらLogon failed, use ctrl+c to cancel basic credential prompt.が出た時の対処法

Last updated at Posted at 2022-02-05

久々にWindows PCにてGitにソースコードをPushしようとした際に発生。

GitHubアカウントのログインダイアログがポップアップしたので、
ユーザ名とパスワードを入力するが認証できず。

ブラウザで同じユーザ名とパスワードでログインできているので、
そちらは問題なし。

Gitを更新

$ git update-git-for-windows

Git for Windows 2.21.0.windows.1 (64bit)
Update 2.35.1.windows.2 is available
Download and install Git for Windows 2.35.1(2) [N/y]? y
################################################################ 100.0%

完了後、もう一度ログインし直すことで解決しました。

参考

20
19
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
20
19