зеркало из https://github.com/microsoft/git.git
doc/git-branch: remove obsolete "-l" references
The previous commit switched "-l" to meaning "--list", but a few vestiges of its prior meaning as "--create-reflog" remained: - the synopsis mentioned "-l" when creating a new branch; we can drop this entirely, as it has been the default for years - the --list command mentions the unfortunate "-l" confusion, but we've now fixed that Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
a15d598124
Коммит
94a13806fb
|
@ -14,7 +14,7 @@ SYNOPSIS
|
|||
[(--merged | --no-merged) [<commit>]]
|
||||
[--contains [<commit]] [--no-contains [<commit>]]
|
||||
[--points-at <object>] [--format=<format>] [<pattern>...]
|
||||
'git branch' [--track | --no-track] [-l] [-f] <branchname> [<start-point>]
|
||||
'git branch' [--track | --no-track] [-f] <branchname> [<start-point>]
|
||||
'git branch' (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]
|
||||
'git branch' --unset-upstream [<branchname>]
|
||||
'git branch' (-m | -M) [<oldbranch>] <newbranch>
|
||||
|
@ -159,10 +159,6 @@ This option is only applicable in non-verbose mode.
|
|||
List branches. With optional `<pattern>...`, e.g. `git
|
||||
branch --list 'maint-*'`, list only the branches that match
|
||||
the pattern(s).
|
||||
+
|
||||
This should not be confused with `git branch -l <branchname>`,
|
||||
which creates a branch named `<branchname>` with a reflog.
|
||||
See `--create-reflog` above for details.
|
||||
|
||||
-v::
|
||||
-vv::
|
||||
|
|
Загрузка…
Ссылка в новой задаче