feat(nix/home): add more aliases for git

This commit is contained in:
Dmitriy Pleshevskiy 2022-04-25 22:53:14 +03:00
parent 6369a2452e
commit cb049322d8

View file

@ -188,6 +188,8 @@ in
}; };
aliases = { aliases = {
co = "checkout"; co = "checkout";
cob = "checkout -b";
cobf = "checkout -B";
st = "status -sb"; st = "status -sb";
d = "diff"; d = "diff";
dc = "diff --cached"; dc = "diff --cached";
@ -199,7 +201,11 @@ in
cam = "commit --amend -m"; cam = "commit --amend -m";
can = "commit --amend --no-edit"; can = "commit --amend --no-edit";
p = "push"; p = "push";
po = "push origin";
pf = "push --force-with-lease"; pf = "push --force-with-lease";
pfo = "push --force-with-lease origin";
pl = "pull";
plo = "pull origin";
rb = "rebase"; rb = "rebase";
rbi = "rebase -i"; rbi = "rebase -i";
}; };