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";