From 8633ce3af3dc9b30d2155e83b9c1658dca22f900 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 6 Jul 2023 16:21:12 +0300 Subject: [PATCH] home/jan/git: add aliases for the cherry-pick --- home/users/jan/git/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/home/users/jan/git/default.nix b/home/users/jan/git/default.nix index c5fc9bc..d933e9f 100644 --- a/home/users/jan/git/default.nix +++ b/home/users/jan/git/default.nix @@ -26,32 +26,48 @@ co = "switch"; cob = "switch -c"; cobf = "switch -C"; + st = "status -sb"; + d = "diff"; dc = "diff --cached"; + aa = "add ."; ai = "add -i"; + c = "commit"; cm = "commit -m"; ca = "commit --amend"; 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"; + f = "fetch"; fo = "fetch origin"; fa = "fetch --all"; fap = "fetch --all --prune"; + rb = "rebase"; rbi = "rebase -i"; rbc = "rebase --continue"; + rba = "rebase --abort"; + + ch = "cherry-pick"; + chi = "cherry-pick -i"; + chc = "cherry-pick --continue"; + cha = "cherry-pick --abort"; + lo = "log --pretty=oneline"; + sma = "submodule add"; smui = "submodule update --init"; + s = "stash"; sm = "stash push -m"; sl = "stash list";