feat(nix/home): add more aliases for git
This commit is contained in:
parent
6369a2452e
commit
cb049322d8
1 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue