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 = {
|
||||
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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue