mirror of
https://github.com/RGBCube/ncc
synced 2025-08-01 04:27:46 +00:00
Add git log and git pull aliases
This commit is contained in:
parent
7b10e526a7
commit
4a35fdcdcc
1 changed files with 24 additions and 16 deletions
|
@ -2,38 +2,46 @@
|
||||||
|
|
||||||
homeConfiguration [ "nixos" "root" ] {
|
homeConfiguration [ "nixos" "root" ] {
|
||||||
programs.nushell.shellAliases = {
|
programs.nushell.shellAliases = {
|
||||||
g = "git";
|
g = "git";
|
||||||
|
|
||||||
ga = "git add";
|
ga = "git add";
|
||||||
gaa = "git add ./";
|
gaa = "git add ./";
|
||||||
|
|
||||||
gc = "git commit";
|
gc = "git commit";
|
||||||
gca = "git commit --amend --no-edit";
|
gca = "git commit --amend --no-edit";
|
||||||
gcm = "git commit --message";
|
gcm = "git commit --message";
|
||||||
|
|
||||||
gcl = "git clone";
|
gcl = "git clone";
|
||||||
|
|
||||||
gd = "git diff";
|
gd = "git diff";
|
||||||
gds = "git diff --staged";
|
gds = "git diff --staged";
|
||||||
|
|
||||||
gp = "git push";
|
gp = "git push";
|
||||||
gpf = "git push --force";
|
gpf = "git push --force";
|
||||||
|
|
||||||
|
gl = "git log";
|
||||||
|
glo = "git log --oneline";
|
||||||
|
|
||||||
|
gpl = "git pull";
|
||||||
|
gplr = "git pull --rebase";
|
||||||
|
gplforce = "git pull --force";
|
||||||
|
gplff = "git pull --ff-only";
|
||||||
|
|
||||||
grb = "git rebase";
|
grb = "git rebase";
|
||||||
grba = "git rebase --abort";
|
grba = "git rebase --abort";
|
||||||
grbi = "git rebase --interactive";
|
grbi = "git rebase --interactive";
|
||||||
|
|
||||||
grl = "git reflog";
|
grl = "git reflog";
|
||||||
|
|
||||||
grs = "git reset";
|
grs = "git reset";
|
||||||
grsh = "git reset --hard";
|
grsh = "git reset --hard";
|
||||||
|
|
||||||
gs = "git stash";
|
gs = "git stash";
|
||||||
gsp = "git stash pop";
|
gsp = "git stash pop";
|
||||||
|
|
||||||
gsh = "git show";
|
gsh = "git show";
|
||||||
|
|
||||||
gst = "git status";
|
gst = "git status";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git = enabled {
|
programs.git = enabled {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue