• Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • 1.4.0
    • Git
    • None
    • Windows 7, x64.
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Deleted a tag using sourcetree from remote

      a. Right click any branch, select Tag

      b. Select Remove Tag tab

      c. Select the tag I want to remove, check box Remove tag from all remotes
      Other developers have a copy of this tag on their local machine, when they push a branch sourcetree allows to push tags along with branches which re-creates the deleted tag. I can ask developers to uncheck "Push all tags"  or I could also ask them to delete local tags manually but this not a solution I am looking for. 

      Is there a way in sourcetree using which users can delete local tags which are no more existing on remote? I cannot see it in sourcetree 2.1.2.4 version. 

      Could you please help if this feature exists or not? I see that the fix version is 1.4.0 for this issue SRCTREEWIN-1309 .

      Regards,
      Swetha

            [SRCTREEWIN-7495] Prune tags in sourcetree 2.1.2.4

            +1

            Richard Quadling added a comment - - edited

            Using MacOS version V4.1.3 (239)

            The fetch dialogue currently shows:

            • Fetch from all remotes
            • Prune tracking branches no longer present on remote(s)
            • Fetch and store all tags locally

            Extending the fetch dialogue to include:

            • Prune local tags no longer present on remote(s)

            would seem be the perfect solution here.

            Ticking that new checkbox would add "--prune-tags" option to the git command that is executed.

            There may be a need to know and/or check which version of git is in play if the "--prune-tags" option is relatively new compared to what the minimum git version is for use with SourceTree when NOT using the bundled version.

             

            As a developer, this is the sort of small task that would be great as an introduction to the code if I had access. Making SourceTree open source (or at least a community edition from which you can pull quality PRs) would be, and please excuse my language, effing fantastic and would allow us to do so much more.

            Richard Quadling added a comment - - edited Using MacOS version V4.1.3 (239) The fetch dialogue currently shows: Fetch from all remotes Prune tracking branches no longer present on remote(s) Fetch and store all tags locally Extending the fetch dialogue to include: Prune local tags no longer present on remote(s) would seem be the perfect solution here. Ticking that new checkbox would add "--prune-tags" option to the git command that is executed. There may be a need to know and/or check which version of git is in play if the "--prune-tags" option is relatively new compared to what the minimum git version is for use with SourceTree when NOT using the bundled version.   As a developer, this is the sort of small task that would be great as an introduction to the code if I had access. Making SourceTree open source (or at least a community edition from which you can pull quality PRs) would be, and please excuse my language, effing fantastic and would allow us to do so much more.

              sstreeting Steve Streeting (Inactive)
              6c4825e9c250 Starkey DevOps
              Votes:
              11 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: