Skip to content

Commit

Permalink
feat(modules/homeManager/programs/git): remove 'co' alias
Browse files Browse the repository at this point in the history
Remove the 'co' alias obsoleted by the 'c' alias.

Related: 12bc3e6
  • Loading branch information
trueNAHO committed Jan 21, 2024
1 parent 4590d44 commit d5354ca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/homeManager/programs/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
programs.git = let
adg = "log --all --decorate --graph";
append = "!${git} add --all && ${git} commit --amend --no-edit";
checkout = "checkout";
in {
aliases = {
adg = adg;
Expand All @@ -31,10 +30,9 @@
app = append;
append = append;
br = "branch";
c = checkout;
c = "checkout";
cm = "commit";
cma = "!${git} add --all && ${git} commit";
co = checkout;
fix = ''!${git} add --all && ${git} commit --message "chore!: $(date "+%Y-%m-%d %H:%M:%S %z")"'';
nuke = "!${git} reset --hard HEAD && ${git} clean -d --force";
reword = "commit --amend";
Expand Down

0 comments on commit d5354ca

Please sign in to comment.