From cb049322d81b5e37ab23d666290d8bb68f6eec96 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 25 Apr 2022 22:53:14 +0300 Subject: [PATCH] feat(nix/home): add more aliases for git --- nix/home.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix/home.nix b/nix/home.nix index e7737ff..efb1620 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -188,6 +188,8 @@ in }; aliases = { co = "checkout"; + cob = "checkout -b"; + cobf = "checkout -B"; st = "status -sb"; d = "diff"; dc = "diff --cached"; @@ -199,7 +201,11 @@ in cam = "commit --amend -m"; can = "commit --amend --no-edit"; p = "push"; + po = "push origin"; pf = "push --force-with-lease"; + pfo = "push --force-with-lease origin"; + pl = "pull"; + plo = "pull origin"; rb = "rebase"; rbi = "rebase -i"; };