mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
chore: force myself to use shorter aliases
This commit is contained in:
parent
20758ffa04
commit
133fcb5f59
1 changed files with 3 additions and 6 deletions
|
@ -19,21 +19,18 @@
|
||||||
s = "status";
|
s = "status";
|
||||||
tags = "tag -l";
|
tags = "tag -l";
|
||||||
t = "tag -s -m ''";
|
t = "tag -s -m ''";
|
||||||
ci = "commit -v -S";
|
|
||||||
cam = "commit -v -S --amend";
|
|
||||||
fixup = ''!f() { TARGET=$(git rev-parse "$1"); git commit --fixup=$TARGET ''${@:2} && EDITOR=true git rebase -i --gpg-sign --autostash --autosquash $TARGET^; }; f'';
|
fixup = ''!f() { TARGET=$(git rev-parse "$1"); git commit --fixup=$TARGET ''${@:2} && EDITOR=true git rebase -i --gpg-sign --autostash --autosquash $TARGET^; }; f'';
|
||||||
commit-reuse-message = ''!git commit --edit --file "$(git rev-parse --git-dir)"/COMMIT_EDITMSG'';
|
commit-reuse-message = ''!git commit --edit --file "$(git rev-parse --git-dir)"/COMMIT_EDITMSG'';
|
||||||
cir = "commit-reuse-message -v -S";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.shellAliases = rec {
|
home.shellAliases = rec {
|
||||||
g = "gitui";
|
g = "gitui";
|
||||||
ga = "git add";
|
ga = "git add";
|
||||||
gc = "git ci";
|
gc = "git commit -v -S";
|
||||||
gca = "git ci --amend";
|
gca = "git commit -v -S --amend";
|
||||||
gcl = "git clone";
|
gcl = "git clone";
|
||||||
gcr = "git cir";
|
gcr = "git commit-reuse-message -v -S";
|
||||||
gs = "git s";
|
gs = "git s";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue