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

SourceTree does not show git subtrees

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Needs Triage (View Workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 2.0.5, 2.0.5.2
    • Fix Version/s: None
    • Component/s: General, Git
    • Environment:

      OS X Yosemite 10.10.4 (14E11f)
      SourceTree version 2.0.5.2
      System Git version 2.4.5

    • Symptom Severity:
      Minor

      Description

      Replication:

      Note: All redacted content will appear as xxxxxx.

      1. Add git repository in SourceTree
      2. Press the Terminal button in the toolbar (Image: http://i.imgur.com/VxJ4RBt.png)
      3. Add git subtrees using the following command in Terminal:
        #!/bin/bash
        git subtree add --prefix modules/xxxxxxxxxxxxxxxxxxxx https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx master
        
      4. Push branch to origin using Terminal:
        #!/bin/bash
        git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/feature/modules:refs/heads/feature/modules
        
      5. Quit the Terminal and reload the git repository in SourceTree
      6. Show 'SUBTREES' category in SourceTree sidebar

      Expected:

      Should see a list of subtrees in the SourceTree sidebar

      Actual:

      Did not see any subtrees in the SourceTree sidebar (Image: http://i.imgur.com/Z8Mvy7T.png)
      The .git folder in the git repository has been attached. Note: All redacted content will appear as xxxxxx. The .git/objects folder has been deleted for security purposes.

        Attachments

        1. 1z0-1009-Exam-Dumps-2019.pdf
          185 kB
        2. 1z0-347-Exam-Dumps-2019.pdf
          198 kB
        3. 1Z0-347-Exam-Dumps-2019.pdf
          172 kB
        4. git.zip
          29 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tj.rana tjrana
              Votes:
              8 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: