Add git subtree support 🌳
Git subtree lets you nest one repository inside another as a sub-directory. It is one of several ways Git projects can manage project dependencies and is an alternative to submodules.
It would be awesome to have subtree support in GitKraken https://docs.github.com/en/github/getting-started-with-github/about-git-subtree-merges
Comments: 16
-
29 Jul, '21
wjx0912Useful feature, please consider adding future versions. thanks
1 -
06 Oct, '21
Luis Lobo BorobiaThis would be a very useful addition.
Submodules are OK but it replaces the .git folder with a file that references the submodule location within the parent. This complicates deployment on docker, (and CI / CD scenarios) where the system expect .git to be a folder and not a reference to a parent folder the docker container has no access to. -
13 Dec, '21
S. Tarık ÇetinSourcetree has it. A much-needed feature in my opinion.
-
22 Jan, '22
P GOVIND RAJMuch needed feature
-
22 Mar, '22
M.M.I just bought GitKraken, tired of SourceTree's problems. Everything is outstanding out of the box, but the missing support of subtrees is a huge problem for me.
I have to revert back to SourceTree for those repos I'm working on that contains subtrees. Add Subtrees support asap, it's not even on the roadmap. -
05 Jul, '22
JohnSame here, Gitkraken is a really powerful tool, but working in a monorepo with subtrees is not even supported. So i have to get back to command lines (since SourceTree is a no-go for me). Please add support for Git Subtree!
-
20 Jan, '23
BrettLets get this
-
25 Feb, '23
JeffPretty much a deal breaker for me for using this product as it's a feature I rely on. I guess it's reluctantly back to ugly old SourceTree.
-
26 Mar, '23
Van F.Please add this feature. Its already in SourceTree, I'm surprised its not already in GitKraken
-
10 Aug, '23
bryan huntYes please, submodules are comparitively difficult to manage - binarytemple.
-
28 Aug, '23
FiserThis feature is so interesting to be added, I would like to have compatibility with subtreees
-
05 Dec, '23
ChadMy company is also interested in this functionality.
-
07 Feb, '24
RogerNeed this too
-
14 Nov, '24
Andrew+1 for subtree support.
-
05 Dec, '24
EliCan I ask a feedback from the Gitkraken Product management regarding this feature? Is there a chance to see the feature in the short term future
-
05 Dec, '24
Trevor AdminHi Eli, and thanks to everyone who shared feedback on this request! We appreciate the insights into your use cases and how subtree support would be valuable.
1
At this time, supporting Git subtrees is not something we can deliver immediately. GitKraken Desktop is currently transitioning from using Libgit2 to the Git executable for running Git commands. Libgit2’s lack of support for features like subtrees has limited us, which is why we’re focusing on migrating existing functionality. Here is a blog post I made last year about this transition: https://www.gitkraken.com/blog/gitkraken-client-migrating-from-libgit2-to-git-executable
The good news is that as we approach completing the transition to the Git executable, we’ll be able to add features like subtrees. While it’s not on the immediate roadmap, this remains one of our more popular feature requests and we’re eager to address it.
Thanks again,
Trevor