summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Schlosser <cschlosser@google.com>2025-06-17 07:23:25 +0000
committerChristoph Schlosser <cschlosser@google.com>2025-06-17 07:23:25 +0000
commitf311f52b11ac29e3bddf0d0f47316cd06fa0f208 (patch)
treea6f078a173a0a368a7973a28d1e19d4baf5d2dce
parent54fa53ee14a1ed093a3af1dbb41ca9ae159f6c18 (diff)
downloaddots-f311f52b11ac29e3bddf0d0f47316cd06fa0f208.tar.gz
Add git log shortcuts
-rw-r--r--fish/functions/gglog.fish4
-rw-r--r--fish/functions/gl3.fish4
2 files changed, 8 insertions, 0 deletions
diff --git a/fish/functions/gglog.fish b/fish/functions/gglog.fish
new file mode 100644
index 0000000..883b695
--- /dev/null
+++ b/fish/functions/gglog.fish
@@ -0,0 +1,4 @@
+function gglog --wraps='git log --graph --pretty --all' --description 'alias gglog git log --graph --pretty --all'
+ git log --graph --pretty --all $argv
+
+end
diff --git a/fish/functions/gl3.fish b/fish/functions/gl3.fish
new file mode 100644
index 0000000..a33d7f7
--- /dev/null
+++ b/fish/functions/gl3.fish
@@ -0,0 +1,4 @@
+function gl3 --wraps='git log -3' --description 'alias gl3 git log -3'
+ git log -3 $argv
+
+end