From ab9214d673ce646722386cf5c7a6e4bcf8bd45fa Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 5 Oct 2024 18:47:33 +0200 Subject: [PATCH] add commit undo --- .config/fish/conf.d/abbr.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/fish/conf.d/abbr.fish b/.config/fish/conf.d/abbr.fish index 07d93e9..9907616 100644 --- a/.config/fish/conf.d/abbr.fish +++ b/.config/fish/conf.d/abbr.fish @@ -31,3 +31,4 @@ abbr lfs "git lfs install; git lfs fetch; git lfs checkout" abbr ls "eza --icons=auto" abbr topgrade "topgrade; pacman-clean" abbr run "for i in (seq 100); ./program; end" +abbr commit-undo "git reset --hard HEAD~1 && git push --force"