Skip to content

Instantly share code, notes, and snippets.

@matsukurou
Last active August 29, 2015 14:23
Show Gist options
  • Save matsukurou/ce51a9a24b979dcbf19f to your computer and use it in GitHub Desktop.
Save matsukurou/ce51a9a24b979dcbf19f to your computer and use it in GitHub Desktop.
Gitコマンドまとめ
# Commit内容(メッセージ、著者)を書き換える方法
$ git commit --amend -m "test test test" --author="my_new_name <new_name@example.com>"
メッセージ : test test test
著者 : my_new_name
メールアドレス : new_name@example.com
# 直前のコミットの打ち消し
git reset --soft HEAD^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment