Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Edit the author info of the last commit.
  • Loading branch information
WSMathias authored Oct 20, 2024
1 parent aac566e commit 0ef6588
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
| Command | Description |
|---------|-------------|
| ` git commit --amend` | Edit last commit message. |
| ` git commit --author="First Last <[email protected]>" --amend --no-edit` | Edit the author info of the last commit. |
| ` git revert <commit_id>` | Rollback to the commit specified by commit_id |
| ` git rebase -i HEAD~n` | Opens list of the last n commits,<br>replace _"pick"_ by _"reword"_ to alter the commit message of those commits. |
| ` git reset --soft HEAD~n` | Uncommit the last n commits without overwriting the working directory files. |
Expand Down

0 comments on commit 0ef6588

Please sign in to comment.