9
7

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 5 years have passed since last update.

keychainが覚えたgithubのパスワードを消す

Last updated at Posted at 2014-09-20

httpsでgithubを使う場合keychainにパスワードを記憶させることができる。この機能は

[credential]
    helper = osxkeychain

を~/.gitconfigなどのコンフィグファイルに書くことで有効になる(らしい)
そして覚えさせたパスワードを消すにはkeychain上で消すか、以下を実行する。

echo "host=github.com\nprotocol=https\n" | git credential-osxkeychain erase

ときに、[credential]がどのコンフィグにもないのにosxkeychainが効いてるのは何でですか。

9
7
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
9
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?