"Push" offers wrong remote for tracking branch

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 4.2.1
    • Component/s: Git
    • None
    • Severity 3 - Minor

      Using SourceTree 4.2.1 (248) on a 2021 14" MacBook Pro with Apple M1 Pro chip, macOS Monterey 12.6.3...

      My workspace has 2 remotes configured: "gitlab" (pointing to our in-house GitLab server) and "devhouse" (pointing to the git server at a development house we're working with).  My current branch was cloned from our local gitlab server - you can see this in the graph view - it shows "my-branch" and "gitlab/my-branch".

      When I right-click on the branch name under BRANCHES in the navigation panel, on one of the options is "Push gitlab/my-branch" with is fine.  There's no mention of the "devhouse" remote 

      However, when I click the Push button on the toolbar, "devhouse" is offered as the remote name.  This makes no sense - it ought to be offering me the remote that my current branch is tracking, "gitlab" in this case.  Furthermore my current branch is not selected.  It should be.

            Assignee:
            Pratap Guvvala
            Reporter:
            Kevin Broadey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: