1
0
Fork 0

reenable tagging keybind in lazygit

This commit is contained in:
Luca Bilke 2024-05-23 16:21:12 +02:00
parent 0f02c0b467
commit 985d3c10ae
1 changed files with 5 additions and 5 deletions

View File

@ -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"