Skip to content

Instantly share code, notes, and snippets.

@iwai
Created December 5, 2013 12:22
Show Gist options
  • Save iwai/7804364 to your computer and use it in GitHub Desktop.
Save iwai/7804364 to your computer and use it in GitHub Desktop.

Gitのレポジトリ単位でユーザを切り替える

~/.gitconfig のグローバル設定とは別のユーザでcommitとかしたい場合

$ cat .git/config
[user]
        name = Yuji Iwai
        email = your@mailaddress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment