git-*: convert options to longform and minor fixes (#13441)
Co-authored-by: spageektti <git@spageektti.cc> Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
|
||||
- Print the latest commit that changed (add/edit/remove) a specific file on the current branch:
|
||||
|
||||
`git rev-list -n 1 HEAD -- {{path/to/file}}`
|
||||
`git rev-list {{--max-count|-n}} 1 HEAD -- {{path/to/file}}`
|
||||
|
||||
- List commits more recent than a specific date, on a specific branch:
|
||||
|
||||
`git rev-list --since={{'2019-12-01 00:00:00'}} {{branch_name}}`
|
||||
`git rev-list --since "{{2019-12-01 00:00:00}}" {{branch_name}}`
|
||||
|
||||
- List all merge commits on a specific commit:
|
||||
|
||||
|
Reference in New Issue
Block a user