Add git nuke

This commit is contained in:
2025-02-21 01:05:50 +01:00
parent d14dd1a040
commit f5aa4878bd
2 changed files with 8 additions and 8 deletions
+5
View File
@@ -22,6 +22,11 @@
''
!git branch --merged | grep -vE "^([+*]|\s*($(git master))\s*$)" | xargs git branch --delete 2>/dev/null
'';
nuke =
#bash
''
!git reset --hard HEAD && git clean -df .
'';
};
extraConfig = {
gpg.format = "ssh";