Skip to content

Instantly share code, notes, and snippets.

@myamamic
Created August 5, 2013 01:46
Show Gist options
  • Save myamamic/6152923 to your computer and use it in GitHub Desktop.
Save myamamic/6152923 to your computer and use it in GitHub Desktop.
[git] リポジトリ全体のauthorとcommiterを変更する
# 以下は、コミットすべてが自分のときだけ
$ git filter-branch --commit-filter ' GIT_AUTHOR_NAME="変更後の名前" GIT_AUTHOR_EMAIL="メールアドレス" GIT_COMMITTER_NAME="変更後の名前" GIT_COMMITTER_EMAIL="メールアドレス" git commit-tree "$@" ' HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment