mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 17:58:42 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,12 +11,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Change an author's email and name across the whole Git repository:
|
||||
|
||||
`git reauthor --old-email {{old@example.com}} --correct-email {{new@example.com}} --correct-name "{{name}}"`
|
||||
`git reauthor {{[-o|--old-email]}} {{old@example.com}} {{[-e|--correct-email]}} {{new@example.com}} {{[-n|--correct-name]}} "{{name}}"`
|
||||
|
||||
- Change the email and name to the ones defined in the Git config:
|
||||
|
||||
`git reauthor --old-email {{old@example.com}} --use-config`
|
||||
`git reauthor {{[-o|--old-email]}} {{old@example.com}} {{[-c|--use-config]}}`
|
||||
|
||||
- Change the email and name of all commits, regardless of their original author:
|
||||
|
||||
`git reauthor --all --correct-email {{name@example.com}} --correct-name {{name}}`
|
||||
`git reauthor {{[-a|--all]}} {{[-e|--correct-email]}} {{name@example.com}} {{[-n|--correct-name]}} {{name}}`
|
||||
|
||||
Reference in New Issue
Block a user