mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-03-15 00:36:05 +01:00
git aliases
This commit is contained in:
parent
71cf0be647
commit
842e6575e1
2 changed files with 8 additions and 1 deletions
|
|
@ -6,6 +6,13 @@
|
|||
userName = "Nilstrieb";
|
||||
|
||||
aliases = {
|
||||
# simple aliases
|
||||
s = "status";
|
||||
rc = "rebase --continue";
|
||||
ra = "rebase --abort";
|
||||
|
||||
# complex renames
|
||||
# TODO: use git-revise
|
||||
hardupdate = "!git fetch && git reset --hard \"origin/$(git rev-parse --abbrev-ref HEAD)\"";
|
||||
fpush = "push --force-with-lease";
|
||||
resq = "rebase --autosquash -i";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue