Alias -B for --allow-backwards in branch set

I find myself using this argument almost every time, but it's
long to type. At the same time, fish completion does not work well
for `--allow-backwards` for some reason (though I think an alias would
be nice regardless).
This commit is contained in:
Ilya Grigoriev 2022-10-16 04:33:07 +00:00
parent 9da89fcc4b
commit 4fed26dffd

View file

@ -727,7 +727,7 @@ enum BranchSubcommand {
revision: Option<String>,
/// Allow moving the branch backwards or sideways.
#[arg(long)]
#[arg(long, short = 'B')]
allow_backwards: bool,
/// The branches to update.