Skip to content

Commit 31558fd

Browse files
Michael Schubertgitster
authored andcommitted
remote: update builtin usage
Add missing options "--tags|--no-tags" and "--push". Signed-off-by: Michael Schubert <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cb2ed32 commit 31558fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/remote.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010
static const char * const builtin_remote_usage[] = {
1111
"git remote [-v | --verbose]",
12-
"git remote add [-t <branch>] [-m <master>] [-f] [--mirror=<fetch|push>] <name> <url>",
12+
"git remote add [-t <branch>] [-m <master>] [-f] [--tags|--no-tags] [--mirror=<fetch|push>] <name> <url>",
1313
"git remote rename <old> <new>",
1414
"git remote rm <name>",
1515
"git remote set-head <name> (-a | -d | <branch>)",
1616
"git remote [-v | --verbose] show [-n] <name>",
1717
"git remote prune [-n | --dry-run] <name>",
1818
"git remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)...]",
1919
"git remote set-branches [--add] <name> <branch>...",
20-
"git remote set-url <name> <newurl> [<oldurl>]",
20+
"git remote set-url [--push] <name> <newurl> [<oldurl>]",
2121
"git remote set-url --add <name> <newurl>",
2222
"git remote set-url --delete <name> <url>",
2323
NULL

0 commit comments

Comments
 (0)