0
0

More than 1 year has passed since last update.

Git認証を求められる対処法

Posted at

以下のような認証を求められるため、一度打った認証情報の保存をする

$ git pull origin master
Username for 'https://gitlab.com':
Password for 'https://user@example.com@gitlab.com'

対応方法

まず、以下を打つ。

$ git config --global credential.helper cache

その後、認証を突破する

$ git pull origin master
Username for 'https://gitlab.com':
Password for 'https://user@example.com@gitlab.com'

もう一度実行すると認証を聞かれなくなる。

$ git pull origin master
From https://gitlab.com/directory/project
 * branch                master -> FETCH_HEAD
Already up to date.
0
0
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
0