Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-9312

SourceTree can no longer authenticate to any repo after upgrade to git for Windows 2.19.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Highest
    • None
    • 2.6.9, 3.0.5
    • None
    • Clean Windows 10 machine, freshly installed SourceTree 3.0.5-beta-2178 or SourceTree 2.6.10.

      No repo cloned/created yet.

    • Severity 2 - Major

    Description

      **Steps below illustrate the problem for a private github repo but the problem exists also for VSTS. I have not tested other providers.

       

      On a clean, freshly installed Windows 10 machine:

      1. Install SourceTree 3.0.5-beta-2178 (tried with the non enterprise edition) or SourceTree 2.6.10
      2. Install git for Windows 2.19.1 from https://git-scm.com/ 
      3. Configure SourceTree to use "system git" as opposed to "embedded git"
      4. Attempt to clone a private GitHub repo of your choice

       

      ACTUAL BEHAVIOR: SourceTree spins forever trying to determine the type of repo - No UI is presented to enter username / password
      EXPECTED BEHAVIOR: Modal dialog is presented (perhaps by credential manager?) allowing user to enter GitHub credentials.

       

      Earlier versions of git for windows (aka 2.19.0 and below) work well. It is only a problem with git for windows 2.19.1

       

      COMPARE - With embedded git provided by SourceTree:

      • With git 2.19.1 installed, configure SourceTree to use "embedded git" instead of "system git"
      • Close and restart SourceTree
      • Try to clone the same repo as in step 4 above
      • OBSERVE: Dialog pops up asking for credentials and clone continues when valid credentials are entered.

      COMPARE - With git command line:

      • Open a cmd.exe prompt
      • Run git --version to verify "System git" version 2.19.1 is being used
      • git clone <repo from step 4>
      • OBSERVE: Dialog pops up asking for credentials and clone continues when valid credentials are entered.

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dabe2c6c4b49 gzunino
              Votes:
              19 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: