feat(nix/prog/git): improve aliases
This commit is contained in:
parent
d9362c476f
commit
071ee87e33
1 changed files with 13 additions and 4 deletions
17
nix/home.nix
17
nix/home.nix
|
@ -129,11 +129,20 @@ in
|
||||||
};
|
};
|
||||||
aliases = {
|
aliases = {
|
||||||
co = "checkout";
|
co = "checkout";
|
||||||
ci = "commit";
|
|
||||||
cia = "commit --amend";
|
|
||||||
cian = "commit --amend --no-edit";
|
|
||||||
st = "status -sb";
|
st = "status -sb";
|
||||||
fpush = "push --force-with-lease";
|
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";
|
||||||
|
pf = "push --force-with-lease";
|
||||||
|
rb = "rebase";
|
||||||
|
rbi = "rebase -i";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue