diff options
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. |