From 95b752dfe8839d59d22414e18a4120b090407723 Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Wed, 24 Jan 2024 18:48:39 -0800 Subject: [PATCH] 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. --- cli/src/commands/branch.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/src/commands/branch.rs b/cli/src/commands/branch.rs index e4ab3e5882..a02e15ff4e 100644 --- a/cli/src/commands/branch.rs +++ b/cli/src/commands/branch.rs @@ -52,6 +52,7 @@ pub enum BranchCommand { Rename(BranchRenameArgs), #[command(visible_alias("s"))] Set(BranchSetArgs), + #[command(visible_alias("t"))] Track(BranchTrackArgs), Untrack(BranchUntrackArgs), }