diff options
author | bryan newbold <bnewbold@twinleaf.com> | 2015-07-27 12:26:03 -0700 |
---|---|---|
committer | bryan newbold <bnewbold@twinleaf.com> | 2015-07-27 12:26:34 -0700 |
commit | 10d4155e4be2f7b3e58939f3722ce0e6f15d2df7 (patch) | |
tree | bfb2ecbc8c2493d2a5f9ab260eb7fb6704c45e98 /software | |
parent | 944279e9e3ee5ff57a4252984cd5ee4e48a440f3 (diff) | |
download | knowledge-10d4155e4be2f7b3e58939f3722ce0e6f15d2df7.tar.gz knowledge-10d4155e4be2f7b3e58939f3722ce0e6f15d2df7.zip |
git: change author email
Diffstat (limited to 'software')
-rw-r--r-- | software/git.page | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/software/git.page b/software/git.page index ac1cf72..418175d 100644 --- a/software/git.page +++ b/software/git.page @@ -41,3 +41,13 @@ Color ------- git config --global --add color.ui true + +Change Author Email in Recent Commits +---------------------------------------- + +For the most recent commit, use: + + git commit --amend --author="First Last <user@example.com>" + +To edit specific commits, use `rebase -i` and "edit" the commits you want to +change and use `--amend` as above for each. |