git*: update outdated pages, fix English pages (#14149)
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
|
||||
- Create a new bug report file in the specified directory, creating it if it does not exist:
|
||||
|
||||
`git bugreport --output-directory {{path/to/directory}}`
|
||||
`git bugreport {{-o|--output-directory}} {{path/to/directory}}`
|
||||
|
||||
- Create a new bug report file with the specified filename suffix in `strftime` format:
|
||||
|
||||
`git bugreport --suffix {{%m%d%y}}`
|
||||
`git bugreport {{-s|--suffix}} {{%m%d%y}}`
|
||||
|
@@ -13,11 +13,11 @@
|
||||
|
||||
- Create a bundle file of the last 5 commits of the current branch:
|
||||
|
||||
`git bundle create {{path/to/file.bundle}} -{{5}} {{HEAD}}`
|
||||
`git bundle create {{path/to/file.bundle}} -5 {{HEAD}}`
|
||||
|
||||
- Create a bundle file of the latest 7 days:
|
||||
|
||||
`git bundle create {{path/to/file.bundle}} --since {{7.days}} {{HEAD}}`
|
||||
`git bundle create {{path/to/file.bundle}} --since 7.days {{HEAD}}`
|
||||
|
||||
- Verify that a bundle file is valid and can be applied to the current repository:
|
||||
|
||||
|
@@ -9,7 +9,7 @@
|
||||
|
||||
- Show the history of a particular file or directory, including differences:
|
||||
|
||||
`git log {{--patch|-p|-u}} {{path/to/file_or_directory}}`
|
||||
`git log {{-p|-u|--patch}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Show an overview of which file(s) changed in each commit:
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
- Show the last N number of commits from a certain author:
|
||||
|
||||
`git log {{--max-count|-n}} {{number}} --author "{{author}}"`
|
||||
`git log {{-n|--max-count}} {{number}} --author "{{author}}"`
|
||||
|
||||
- Show commits between two dates (yyyy-mm-dd):
|
||||
|
||||
|
@@ -17,7 +17,7 @@
|
||||
|
||||
- View a summary of the last 5 commits (i.e. specify a revision range):
|
||||
|
||||
`git shortlog HEAD~{{5}}..HEAD`
|
||||
`git shortlog HEAD~5..HEAD`
|
||||
|
||||
- View all users, emails and the number of commits in the current branch:
|
||||
|
||||
|
Reference in New Issue
Block a user