ネットで調べてみて、
$ git config --show-origin --get credential.helper
というコマンドを実行したところ、file:/Library/Developer/CommandLineTools/usr/share/git-core/gitconfig osxkeychain
という結果が帰ってきました。
file:/Library/Developer/CommandLineTools/usr/share/git-core/gitconfig
を編集してosxkeychainの設定部分を削除したいです
したいことは何でしょうか?
file:/Library/Developer/CommandLineTools/usr/share/git-core/gitconfigを編集してosxkeychainの設定部分を削除したいです
git config の設定内容は基本的にはスコープの狭いものが優先されるけど、credential.helper に関しては累積的なので、システム設定を無効にして自分の設定だけにするには ~/.gitconfig に (要インデント)
[credential]
helper =
helper = cache
と 2 行書く必要がある (最初の helper= でシステム設定がクリアされる) ようです。
https://stackoverflow.com/questions/13198143/how-do-i-disable-gits-credential-helper-for-a-single-repository/36435803#36435803
回答1件
あなたの回答
tips
プレビュー