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

Refspec not respected on macos on non default branch

    XMLWordPrintable

Details

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

    Description

      let's say I have a refspec like:
      [remote "origin"]

              fetch = +refs/heads/:refs/remotes/origin/
              push = refs/heads/:refs/for/

      when I want to push from source tree, default remote branch is set correct, like "refs/for/master" , but if I want to push from my local master branch to a remote non default branch, say "development", when picking that development branch in the dialog box, the refspec is no longer added

      so, instead of pushing to "refs/for/development", it'll push to the default "refs/heads/development" and in this case refspec is not followed

      Attachments

        Activity

          People

            2566180e0bc8 Arati Mohanty
            16550f4f02ad Cristi Pădureac
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: