Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-7998

"Push" offers wrong remote for tracking branch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 4.2.1
    • Git
    • None
    • Severity 3 - Minor

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ddcd19c0b54b Kevin Broadey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: