summaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to 'git')
-rw-r--r--git/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/git/config b/git/config
index 03c6e91..cc473ed 100644
--- a/git/config
+++ b/git/config
@@ -47,7 +47,7 @@
'"
# ff = merge --ff-only
- # tomerge <branch> <regex> tells you which branches matching <regex> have not been merged into <branch> yet
+ # tomerge [<branch> [<regex>]] tells you which branches matching <regex> have not been merged into <branch> yet
# <branch> defaults to HEAD
# <regex> defaults to .
tomerge = !"perl -MGit -E' \
@@ -57,7 +57,7 @@
} Git::command(qw{branch -r --no-merged}, $br); \
'"
- # topics <regex>
+ # topics [<regex>]
# show topics (branches) matching the ai/description format or <regex>
topics = !"perl -MGit -MList::Util=uniq -E' \
my $rx = shift // qr{[a-z]{1,3}/.}; \
@@ -68,7 +68,7 @@
} Git::command(qw/branch --sort=committerdate -r/) \
'"
- # rmbranch <repository> branchname deletes local und remote branch
+ # rmbranch [<repository>] <branchname> deletes local and remote branch
# <repository> defaults to origin
rmbranch = !"perl -MGit -E' \
my ($re, $br) = (@ARGV > 1? shift : q{origin}, shift // q{}); \