Gitのレポジトリ単位でユーザを切り替える ~/.gitconfig のグローバル設定とは別のユーザでcommitとかしたい場合 $ cat .git/config [user] name = Yuji Iwai email = your@mailaddress