forked from mirrors_public/oddlama_nix-config
feat: add git fixup command
This commit is contained in:
parent
46ce6ed353
commit
2c81b11696
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
|||
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'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue