Skip to content

Commit 67f8d5b

Browse files
committed
Merge branch 'pj/remote-set-branches-usage-fix' into maint
* pj/remote-set-branches-usage-fix: remote: fix set-branches usage and documentation Conflicts: builtin/remote.c
2 parents e22c522 + ca5bc9e commit 67f8d5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/git-remote.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SYNOPSIS
1414
'git remote rename' <old> <new>
1515
'git remote rm' <name>
1616
'git remote set-head' <name> (-a | -d | <branch>)
17-
'git remote set-branches' <name> [--add] <branch>...
17+
'git remote set-branches' [--add] <name> <branch>...
1818
'git remote set-url' [--push] <name> <newurl> [<oldurl>]
1919
'git remote set-url --add' [--push] <name> <newurl>
2020
'git remote set-url --delete' [--push] <name> <url>

builtin/remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static const char * const builtin_remote_usage[] = {
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>)...]",
19-
"git remote set-branches <name> [--add] <branch>...",
19+
"git remote set-branches [--add] <name> <branch>...",
2020
"git remote set-url <name> <newurl> [<oldurl>]",
2121
"git remote set-url --add <name> <newurl>",
2222
"git remote set-url --delete <name> <url>",

0 commit comments

Comments
 (0)