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

Cannot push to a team organization repo on GitHub

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 4.2.8
    • GitHub
    • None
    • Major

      When I add GitHub account to Sourcetree, it doesn't include organization permission as for VS Code or for GitHub Desktop. The last two can push. To switch on the organization permission, I need to request the org owner with a long response.

      For another side, IntelliJ can generate and use a token. During its generation, I can manually set the write access to the org. And this works too. But when I set the same token for the GitHub account for Sourcetree, it cannot use it properly so that GitHub respond with a link to an instruction.

      Is there the golden path for using Sourcetree with a not mine team org on GitHub without requesting additional permissions from the owner side?

      Steps to reproduce:

      • Create a team organization on GitHub from one account and invite another one.
      • From the invited account, on GitHub site, create an empty repo in this organization
        • This checks that you have proper access rights for the org
      • From Mac, from Sourcetree, add a local repo to bookmarks and open it
      • Add the invited account to Sourvcetree (try any variant)
      • Change the repo settings to set the origin to the newly created GitHub one in the org
      • Try to push the local repo to GitHub
        • It failed to push

       

              Unassigned Unassigned
              318edc720b03 Gennady Krasnikov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: