summaryrefslogtreecommitdiffstats
path: root/fish
diff options
context:
space:
mode:
authorChristoph Schlosser <cschlosser@google.com>2025-06-17 07:28:08 +0000
committerChristoph Schlosser <cschlosser@google.com>2025-06-17 07:28:08 +0000
commitef613fcd38d3dce40e4942068b5cf1d33e00838f (patch)
tree0989bd40294b3239e40181e79bc516866c16dfa0 /fish
parentd4da2f2778b61afc91fe0cb72ff9e03ade8ddbfa (diff)
downloaddots-ef613fcd38d3dce40e4942068b5cf1d33e00838f.tar.gz
Add more git aliases
Diffstat (limited to 'fish')
-rw-r--r--fish/functions/gco.fish4
-rw-r--r--fish/functions/stage.fish4
2 files changed, 8 insertions, 0 deletions
diff --git a/fish/functions/gco.fish b/fish/functions/gco.fish
new file mode 100644
index 0000000..a99e86b
--- /dev/null
+++ b/fish/functions/gco.fish
@@ -0,0 +1,4 @@
+function gco --wraps='git commit' --description 'alias gco git commit'
+ git commit $argv
+
+end
diff --git a/fish/functions/stage.fish b/fish/functions/stage.fish
new file mode 100644
index 0000000..3d8a984
--- /dev/null
+++ b/fish/functions/stage.fish
@@ -0,0 +1,4 @@
+function stage --wraps='git add' --description 'alias stage git add'
+ git add $argv
+
+end