Improve git aliases

This commit is contained in:
Dave Gallant
2021-12-22 22:40:16 -05:00
parent 46b6d6e212
commit b6f0c406ed
3 changed files with 8 additions and 7 deletions

View File

@@ -34,6 +34,8 @@ in
};
};
services.opensnitch-ui.enable = stdenv.isLinux;
fonts.fontconfig.enable = true;
programs = {
@@ -62,9 +64,9 @@ in
l =
"log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
ms = "merge --squash";
po = "push origin";
p = "push origin";
pf = "push -f";
por = "push origin HEAD:refs/for/$1";
pl = "! git pull origin $(git rev-parse --abbrev-ref HEAD)";
st = "status";
wip =
"for-each-ref --sort='authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads";