Repository navigation
How do I stop LG from removing git tags? #6163
|
I However, after a second or two the tag disappears! Leaving LG and checking with Tagging within LG keeps the tag until I How do I tell LG to not remove tags? |
Replies: 1 comment 1 reply
|
the current lazygit fetch/pull code adds no pruning flags, so i'd check git's settings. its startup fetch could explain the delay this read-only check shows the settings and their source files: git config --show-origin --get-regexp '^(fetch\.prune(tags)?|remote\..*\.(prune(tags)?|fetch))$'git can delete local-only tags when pruning and for the git config --local remote.origin.pruneTags falserepeat for each affected remote, replacing could you share the check's output and |
the current lazygit fetch/pull code adds no pruning flags, so i'd check git's settings. its startup fetch could explain the delay
this read-only check shows the settings and their source files:
git config --show-origin --get-regexp '^(fetch\.prune(tags)?|remote\..*\.(prune(tags)?|fetch))$'git can delete local-only tags when pruning and
pruneTagsare enabled, or pruning uses a mapping such asrefs/tags/*:refs/tags/*for the
pruneTagscase onorigin, with no explicit tag mapping, this disables tag pruning while keeping branch pruning:git config --local remote.origin.pruneTags falserepeat for each affected remote, replacing
origincould you share the check's output and
lazygit --version? …