LoginSignup
5
4

More than 3 years have passed since last update.

Windows7 で GitLab から git clone したときに remote: HTTP Basic: Access denied が発生する

Posted at

前略

GitLab から git clone したときに remote: HTTP Basic: Access denied が発生し、git cloneできませんでした。

> git clone https://gitlab.xxxxxxxxxxxxxx.jp/yyyyyyy/zzzzzzz.git
Cloning into 'zzzzzzzzz'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.xxxxxxxxxxxxxx.jp/yyyyyyy/zzzzzzz.git'

Windowsの資格情報マネージャーがgitの認証情報を記憶しているためにエラーが発生したようです。

手順

Windowsスタートメニューから「プログラムとファイルの検索」で「資格情報マネージャー」で検索。
汎用資格情報にgit:から始まる資格情報があるので、「資格情報コンテナーから削除」をクリックして削除する。

もう一度git cloneすれば通ります。

草々

同件:https://www.backyrd.net/entry/20190110/1547101414

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