覚書 : gitでユーザー名とパスワードを毎回確認するようにする

覚書です。

 

Windowsのgitなどでプライベートリポジトリをクローンしようとした際にユーザー名やパスワードなどを聞かれることもなくRepository Not Foundになることがあります。

 

以下のコマンドを設定することにより、ユーザー名とパスワードの入力を求められるようになるはずです。

git config --global --unset credential.helper
git config --system --unset credential.helper

 

← 過去の投稿へ

次の投稿へ →

1件のコメント

  1. 元に戻すときは git config --global credential.helper store

コメントを残す

This site uses Akismet to reduce spam. Learn how your comment data is processed.