--tags option to git fetch

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Duplicate
    • 1.6
    • Component/s: None
    • None

      If a tag moved and a client amends a remote tag then you need to force fetch your tags in order for the refspec in git to be overridden. You can only do this by git fetch --tags. From the docs:

      "This is a short-hand for giving "refs/tags/:refs/tags/" refspec from the command line, to ask all tags to be fetched and stored locally. Because this acts as an explicit refspec, the default refspecs (configured with the remote.$name.fetch variable) are overridden and not used."

      Reported on AAC: https://answers.atlassian.com/questions/141421/sourcetree-pull-all-tags

            Assignee:
            Unassigned
            Reporter:
            KieranA
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: