Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 29a03fa

Browse files
committed
Merge branch 'ms/remote-usage-string'
Adds some subcommands that were not listed in "git remote --help" usage strings. As an independent follow-up, we may want to rethink how the overall usage string and subcommand usage strings are maintained. By Michael Schubert * ms/remote-usage-string: remote: update builtin usage
2 parents 1f64344 + 31558fd commit 29a03fa

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)