Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 485 Bytes

git-commit-amend.md

File metadata and controls

23 lines (13 loc) · 485 Bytes

Modify Last Commit Details

  • To modify commit message

git commit --amend

  • To modify commit author details

git commit --amend --author "{{NAME}} <{{EMAIL}}>"

  • NAME: New name to replace the author name in commit
  • EMAIL: New email to replace the author email in commit
Example:

git commit --amend

git commit --ammnd --author Arshad Kazmi <[email protected]>

Related