投稿数 585
公開から 2940

git現在のユーザーを確認するコマンド


Categories: git

はじめに、やりたいこと

commitする前に今commitしたらどのユーザーとしてコミットされるか知りたい。

確認コマンド

$ git config --global user.name
> Oda Ryo

変更するコマンド

git config --global user.name "Oda Ryo2"

参考

https://help.github.com/en/articles/setting-your-username-in-git