Want fetch <remote> --prune

XMLWordPrintable

      When I fetch from a remote, I would like the option to prune the remote's branches so my local copy matches exactly what's on the remote. The equivalent command line option for origin would be:

      git fetch origin --prune

      Ideally, I'd like the Fetch from remote context menu item to bring up a dialog with fetch option(s), including Prune branches. However, I'd be willing to do this as a custom action, if only custom actions were a) available on remotes, and b) had a $REPO_NAME option, instead of just $REPO, which gives me the path to my local repo, which is not what I need in this case.

       

      See also:

      It appears there's a fair bit of desire for pruning.

            Assignee:
            Unassigned
            Reporter:
            JB Christy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: