Hacker GitHub

← All repos

ingydotnet/git-subrepo

View on GitHub ↗ ★ 3,621 Shell

36 mentions on Hacker News by 25 people: 9 stories, 27 comments · first 2014-02-24 · latest 2026-07-27

Mentions per year 36 mentions · busiest year 2024 (6)
20082026
  1. Prior to `jj` my happiest git discovery was https://github.com/ingydotnet/git-subrepo to replace submodules.
    comment by nopurpose · 2026-07-27 · in Git rebase -i is not that scary
  2. …workflow if they fit. (Only thing it has problems is rebasing, under specific circumstances) [0] https://github.com/ingydotnet/git-subrepo
    comment by hakanderyal · 2024-12-02 · in Demystifying Git Submodules
  3. I quite like https://github.com/ingydotnet/git-subrepo This allows you to treat common code in a repo as just a normal part of the repo. However, the common code is also in a repo of its own. This tool then allows you to push / merge your…
  4. …repo. Later on, upstream changes can be pulled in, and local changes can be pushed back. Simple. https://github.com/ingydotnet/git-subrepo After trying many similar solutions, it gets the closest to what I want to achieve, which is nested…
  5. I've have great experiences with https://github.com/ingydotnet/git-subrepo
  6. ▲ 4
    Git-Subrepo: Git Submodule and Subtree Alternative
    story by lioeters · 2024-01-27 · 0 comments
  7. I am still really happy with using git subrepo as my metarepo https://github.com/ingydotnet/git-subrepo
  8. How about using gitsubrepo ? https://github.com/ingydotnet/git-subrepo >This command is an improvement from git-submodule and git-subtree; two other git commands with similar goals, but various problems.
    comment by sligor · 2023-03-03 · in Better alternatives to git submodules
  9. I much prefer https://github.com/ingydotnet/git-subrepo
  10. ▲ 3
    Git-Subrepo – Git Submodule Alternative
    story by TeeMassive · 2023-01-14 · 0 comments
  11. …rate. As a side-note when we do have to do an assembly of different code base, we use git-subrepo: https://github.com/ingydotnet/git-subrepo which provide the best of both submodules and subtree.
    comment by TeeMassive · 2023-01-13 · in Just use a monorepo
  12. git subrepos are an alternative to git submodules and git subtrees. https://github.com/ingydotnet/git-subrepo git subrepos work simply by copying your dependency to a subdirectory and committing the changes using one large commit that…
  13. https://github.com/ingydotnet/git-subrepo . I adopted it a few years back, found that the commands' help text didn't match the actual flags they took, the last repo update was over 1.5 years ago, and they stopped replying to issues as well.
  14. Did you try https://github.com/ingydotnet/git-subrepo ? Looks like it vendors in other repositories, making submodules entirely transparent for consumers and still allowing sumbodule workflow for authors.
  15. …https://codewinsarguments.co/2016/05/01/git-submodules-vs-gi... Or the non-standard git-subrepo? https://github.com/ingydotnet/git-subrepo
    comment by skyfaller · 2021-03-28 · in I Hate Git Submodules
  16. ▲ 3
    git-subrepo: A Git Submodule Alternative
    story by oftenwrong · 2021-03-06 · 0 comments
  17. My preferred solution has been git-subrepo: https://github.com/ingydotnet/git-subrepo Basically is what (I think) submodules should have been. Creates a vendored copy with metadata about what commit it came from. Normal operations like…
  18. ▲ 46
    What is the best and right way to open-source packages from a company monorepo?
    story by vaughan · 2020-06-01 · 24 comments
  19. ▲ 1
    Ingydotnet/Git-Subrepo
    story by todsacerdoti · 2020-05-27 · 0 comments
  20. ▲ 3
    Git Subrepo: Git Submodule/Subtree Alternative
    story by excerionsforte · 2020-02-28 · 0 comments
  21. …the submodule commits in the parent repo? If so, what are the pros & cons versus git subrepo? https://github.com/ingydotnet/git-subrepo
  22. …that keeps metadata information in both your filesystem and your history so that things stay sane. https://github.com/ingydotnet/git-subrepo
  23. That's why I went with git-subrepo [0] over submodules. [0]: https://github.com/ingydotnet/git-subrepo
  24. The best alternative to submodules and subtrees I found is git-subrepo: https://github.com/ingydotnet/git-subrepo#benefits
    comment by sligor · 2018-05-13 · in Git submodules revisited
  25. try using https://github.com/ingydotnet/git-subrepo that gives you the ability to simply clone a repo.
    comment by keithnz · 2018-05-13 · in Git submodules revisited
  26. I use https://github.com/ingydotnet/git-subrepo I find that much nicer means for most people using the repo they don't have to worry about the other repos.
    comment by keithnz · 2018-05-13 · in Git submodules revisited
  27. …convenient tool to embed the code into own tree. [1] - https://github.com/ibukanov/ljdumpgo [2] - https://github.com/ingydotnet/git-subrepo
    comment by _0w8t · 2017-09-20 · in Golang: Don't be afraid of makefiles
  28. …and add a hook to automatically merge from one to the other. 1: https://github.com/splitsh/lite 2: https://github.com/ingydotnet/git-subrepo
    comment by bryanlarsen · 2017-06-29 · in We’ll Never Know Whether Monorepos Are Better
  29. ▲ 3
    Git submodules sucks, use subrepo
    story by tartavull · 2017-05-04 · 0 comments
  30. …it. Doesn't seem to have the problems of git submodule and it's easier to use than git subtree. [1] https://github.com/ingydotnet/git-subrepo
  31. …next :-) The git-subrepo intro has a pretty good overview of the issues with git-subtree. [2] [1] https://github.com/ingydotnet/git-subrepo/issues/40 [2] https://github.com/ingydotnet/git-subrepo/blob/master/Intro....
    comment by chocolateboy · 2015-02-20 · in Mastering Git submodules
  32. For a less painful [1] solution, see git-subrepo. [2] [1] https://github.com/ingydotnet/git-subrepo/blob/master/Intro.... [2] https://github.com/ingydotnet/git-subrepo
    comment by chocolateboy · 2015-02-20 · in Mastering Git submodules
  33. ▲ 6
    git-subrepo: git submodules done right
    story by chocolateboy · 2015-02-20 · 0 comments
  34. ▲ 5
    Git Subrepo
    story by jpadvo · 2014-09-11 · 0 comments
  35. You may want to take a look at https://github.com/ingydotnet/git-subrepo#readme (and join #git-commands on freenode).
    comment by ingy · 2014-03-12 · in Git 2.0 release notes
  36. …that deals with all these concerns and more. The command became fully usable about a week ago. The https://github.com/ingydotnet/git-subrepo addresses all the known concerns of the project owner, project collaborators, and end users. It…