Skip to content

Commit

Permalink
cli branch: add alias t for track
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ilyagr committed Jan 25, 2024
1 parent 20cbe77 commit 95b752d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/src/commands/branch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ pub enum BranchCommand {
Rename(BranchRenameArgs),
#[command(visible_alias("s"))]
Set(BranchSetArgs),
#[command(visible_alias("t"))]
Track(BranchTrackArgs),
Untrack(BranchUntrackArgs),
}
Expand Down

0 comments on commit 95b752d

Please sign in to comment.