mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Amend Author Of Previous Commit as a git til.
This commit is contained in:
9
git/amend-author-of-previous-commit.md
Normal file
9
git/amend-author-of-previous-commit.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Amend Author Of Previous Commit
|
||||
|
||||
The author of the previous commit can be amended with the following command
|
||||
|
||||
```bash
|
||||
$ git commit --amend --author "Don Draper <ddraper@sterlingcooper.com>"
|
||||
```
|
||||
|
||||
[source](http://stackoverflow.com/questions/750172/change-the-author-of-a-commit-in-git)
|
||||
Reference in New Issue
Block a user