🐙

git-credential-managerに使用するユーザーを記憶させる

2025/03/17に公開

以下のコマンドでリポジトリごとに使用するユーザーを設定できます。

git config --local credential.https://github.com.username <USER_NAME>

以下の記事では --global で使用していましたが、 --local でも動作しました。

https://github.com/git-ecosystem/git-credential-manager/blob/main/docs/multiple-users.md

Discussion