From 2987291400bb9d88cb05c4043d9984c207a30d0d Mon Sep 17 00:00:00 2001
From: Luca Bilke <bilke@tralios.de>
Date: Thu, 23 May 2024 16:21:12 +0200
Subject: [PATCH] reenable tagging keybind in lazygit

---
 .config/lazygit/config.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.config/lazygit/config.yml b/.config/lazygit/config.yml
index 09f1244d..87e16b79 100644
--- a/.config/lazygit/config.yml
+++ b/.config/lazygit/config.yml
@@ -19,11 +19,11 @@ customCommands:
     context: "localBranches"
     loadingText: "Pruning..."
     description: "prune local branches that have been merged to main/master"
-  # - key: "<c-t>"
-  #   context: "global"
-  #   command: " tag=$(date +%Y).$(date +%m | sed 's/^0//').$(($(git tag --sort=-v:refname | grep ^$MAJOR.$MINOR | head -n 1 | cut -d . -f 3) + 1)); git tag $tag; git push {{ .SelectedRemote.Name }} $tag; "
-  #   description: "Create and push a tag based off the date"
-  #   loadingText: "Tagging/Pushing..."
+  - key: "<c-t>"
+    context: "global"
+    command: " tag=$(date +%Y).$(date +%m | sed 's/^0//').$(($(git tag --sort=-v:refname | grep ^$MAJOR.$MINOR | head -n 1 | cut -d . -f 3) + 1)); git tag $tag; git push {{ .SelectedRemote.Name }} $tag; "
+    description: "Create and push a tag based off the date"
+    loadingText: "Tagging/Pushing..."
   - key: "<c-v>"
     context: "global"
     description: "Create new conventional commit"