From 72f250512d30363f932d73bfbbbaa251a5bc67f6 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 5 Apr 2022 12:55:49 +0300 Subject: [PATCH] feat(nix/prog/git): add aliases ... for checkout, commit, status and push --- nix/home.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/home.nix b/nix/home.nix index 50ccd1b..e2a89c3 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -31,6 +31,14 @@ in init.defaultBranch = "main"; pull.rebase = true; }; + aliases = { + co = "checkout"; + ci = "commit"; + cia = "commit --amend"; + cian = "commit --amend --no-edit"; + st = "status -sb"; + fpush = "push --force-with-lease"; + }; }; programs.exa = {