• Icon: Bug Bug
    • Resolution: Tracked Elsewhere
    • Icon: Medium Medium
    • None
    • 1.8.0.2
    • None
    • None
    • Mac OSX 10.8.5
      Embedded Git 1.8.4.2
      System Git 1.8.3.4 (for command line uses)

      I can't add a new subtree or link to an existing subtree.

      The repositories are on Bitbucket (sorry I can't put a link to them, they're private. If it's necessary I can create fake repos).

      If I try to add a new subtree on a non-existing folder, Sourcetree asks for my password, I enter it, and later I get these errors:

      -------------------------------------------------------------------------------------

      git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree subtree add -P /Users/sergidiaz/Desarrollo/XXX-for-android/jni/Test https://sergidiaz@bitbucket.org/YYY/XXX-for-ios.git master

      2013-12-13 13:02:29.146 git-credential-sourcetree[8201:707] Error (internetKeychainItemForServer:withUsername:path:port:protocol - The specified item could not be found in the keychain.

      From https://bitbucket.org/YYY/XXX-for-ios

      • branch master -> FETCH_HEAD

      error: Invalid path '/Users/sergidiaz/Desarrollo/XXX-for-android/jni/Test/.gitignore'

      error: Invalid path '/Users/sergidiaz/Desarrollo/XXX-for-android/jni/Test/.gitmodules'

      error: Invalid path '/Users/sergidiaz/Desarrollo/XXX-for-android/jni/Test/3D Assets/Balon.FBX'

      error: Invalid path '/Users/sergidiaz/Desarrollo/XXX-for-android/jni/Test/3D Assets/CAMP.mesh'

      (More Invalid path errors, one for each file...)

      error: pathspec 'jni/Test' did not match any file(s) known to git.

      Completed with errors, see above

      -------------------------------------------------------------------------------------

      If I create the folder I simply get a "prefix already exists" error.

      If I create a subtree using the command line, following this guide from your own blog (http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/) and then I try to link to it, I get the same "prefix already exists" error.

              Unassigned Unassigned
              4ebd4a7a51c7 Sergi Díaz
              Affected customers:
              1 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: