Replication:
Note: All redacted content will appear as xxxxxx.
- Add git repository in SourceTree
- Press the Terminal button in the toolbar (Image: http://i.imgur.com/VxJ4RBt.png)
- Add git subtrees using the following command in Terminal:
#!/bin/bash
git subtree add --prefix modules/xxxxxxxxxxxxxxxxxxxx https://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx master
- 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
- Quit the Terminal and reload the git repository in SourceTree
- 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.
- is cloned from
-
SRCTREE-2047 Sourcetree does not show Git Subtree
- Closed
- is related to
-
SRCTREE-1998 Subtree will not link on the first try
- Closed
-
SRCTREE-2006 Subtree missing from sidebar
- Closed
-
SRCTREEWIN-2276 Subtree add hangs
- Closed
-
SRCTREE-6616 Subtree
- Needs Triage