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

Sourcetree Fails on Password When Cloning To Submodule


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • Git
    • None
    • MAC OS X 10.8.5

    • Severity 3 - Minor

      Giles Hammond asked this question · 16 karma · Dec 18 at 05:48 AM

      I have a repository on BitBucket, created by importing the public Sparkle for OSX project from Github.

      If I try to clone this to my local machine with Sourcetree everything works fine:

      git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree clone --recursive https://MyUsername@bitbucket.org/MyUsername/sparkle.git /Users/Giles/Dropbox/Projects/sparkle

      However, if I try and do the same to a submodule within an existing project it fails with a password issue:

      git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule add -f https://MyUsername@bitbucket.org/MyUsername/sparkle.git External/Sparkle
      fatal: could not read Password for 'https://MyUsername@bitbucket.org': Device not configured

      Does anyone know if I am doing something very wrong here? I am fairly new to Git, Sourcetree and Bitbucket. Perhaps this is a bug though - the password is obviously working when cloning in some instances.
      Thank you

      (Related AAC: https://answers.atlassian.com/questions/244606/sourcetree-fails-on-password-when-cloning-to-submodule)

            Unassigned Unassigned
            92e1b8cb8c32 Azizur Rahman
            21 Vote for this issue
            22 Start watching this issue