Credentials fail in sourcetree but succeed in terminal

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 3.0.5
    • Component/s: Git
    • Environment:

      git version 2.19.1.windows.1

      git credential manager for windows 1.18.1

      windows 10

      dev.azure account with personal access token

      sourcetree 3.0.6

    • Severity 2 - Major

      Something is wrong with credentials. This is a nightmare.

      This is what does work.

      Start terminal.

      ben@DESKTOP-HCPIRxxx MINGW64 /c/dev/xxx/xxx (master)
      $ git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin

      works fine.

       

      None of the same operations work in sourcetree. fetch, pull.

       

       

      git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
      fatal: ArgumentException encountered.
       An item with the same key has already been added.
      fatal: ArgumentException encountered.
       An item with the same key has already been added.
      fatal: ArgumentException encountered.
       An item with the same key has already been added.
      fatal: ArgumentException encountered.
       An item with the same key has already been added.
      fatal: Authentication failed for 'https://******.visualstudio.com/T******/_git/T*****/'
      fatal: ArgumentException encountered.
       An item with the same key has already been added.
      fatal: ArgumentException encountered.
       An item with the same key has already been added.
      fatal: ArgumentException encountered.
       An item with the same key has already been added.
      fatal: ArgumentException encountered.
       An item with the same key has already been added.
      

       

       

       

       

       

       

            Assignee:
            Unassigned
            Reporter:
            benyaboy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: