Fix git lg

This commit is contained in:
Martin Pander
2024-10-22 12:06:09 +02:00
parent f23c3d413b
commit f9ebfc652f
3 changed files with 11 additions and 7 deletions

12
nix/flake.lock generated
View File

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1723986931, "lastModified": 1729459288,
"narHash": "sha256-Fy+KEvDQ+Hc8lJAV3t6leXhZJ2ncU5/esxkgt3b8DEY=", "narHash": "sha256-gBOVJv+q6Mx8jGvwX7cE6J8+sZmi1uxpRVsO7WxvVuQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2598861031b78aadb4da7269df7ca9ddfc3e1671", "rev": "1e27f213d77fc842603628bcf2df6681d7d08f7e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1724224976, "lastModified": 1729256560,
"narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=", "narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c374d94f1536013ca8e92341b540eba4c22f9c62", "rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -11,8 +11,10 @@
br = "branch"; br = "branch";
pl = "pull"; pl = "pull";
ps = "push"; ps = "push";
sw = "switch";
mno =" merge --no-ff"; mno =" merge --no-ff";
lg = "log --color --graph --pretty=format:'%cred%h%creset -%c(yellow)%d%creset %s %cgreen(%cr)%c(bold blue)<%an>%creset' --abbrev-commit"; lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit";
cleanup = "!git fetch --prune && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs git branch -D";
}; };
difftastic.enable = true; difftastic.enable = true;
@ -24,6 +26,7 @@
push.default = "matching"; push.default = "matching";
init.defaultBranch = "main"; init.defaultBranch = "main";
merge.conflicstyle = "zdiff3"; merge.conflicstyle = "zdiff3";
fetch.prune = true;
}; };
ignores = [ ignores = [

View File

@ -78,6 +78,7 @@
fd fd
du-dust du-dust
glow glow
ripgrep-all
#nerdfonts #nerdfonts
]; ];