Skip to content

Commit

Permalink
cli: move ci alias to config file
Browse files Browse the repository at this point in the history
I would like to delete this alias altogether. By moving it to the
config to start with, users can start overriding it themselves, as
`commit` or whatever they prefer.
  • Loading branch information
martinvonz committed Dec 3, 2024
1 parent efe23be commit 4e125b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion cli/src/commands/commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ use crate::ui::Ui;

/// Update the description and create a new change on top.
#[derive(clap::Args, Clone, Debug)]
#[command(visible_aliases=&["ci"])]
pub(crate) struct CommitArgs {
/// Interactively choose which changes to include in the first commit
#[arg(short, long)]
Expand Down
1 change: 1 addition & 0 deletions cli/src/config/misc.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[aliases]
amend = ["squash"]
b = ["bookmark"]
ci = ["commit"]
unamend = ["unsquash"]

[diff.color-words]
Expand Down

0 comments on commit 4e125b6

Please sign in to comment.