cli branch: add alias t for track

This goes with `c`, `s`, `f`. I feel like it's a relatively
common command now that `auto-local-branch` defaults to
`false`.

I didn't add `u` for `untrack` because it seems a little
ambiguous (un-what?); there may be other `branch` commands that undo
something in the future.
This commit is contained in:
Ilya Grigoriev 2024-01-24 18:48:39 -08:00
parent 20cbe77bf5
commit 95b752dfe8

View file

@ -52,6 +52,7 @@ pub enum BranchCommand {
Rename(BranchRenameArgs),
#[command(visible_alias("s"))]
Set(BranchSetArgs),
#[command(visible_alias("t"))]
Track(BranchTrackArgs),
Untrack(BranchUntrackArgs),
}