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. I am still really happy with using git subrepo as my metarepo https://github.com/ingydotnet/git-subrepo
  7. 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
  8. I much prefer https://github.com/ingydotnet/git-subrepo
  9. …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
  10. 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…
  11. 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.
  12. 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.
  13. …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
  14. 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…
  15. …the submodule commits in the parent repo? If so, what are the pros & cons versus git subrepo? https://github.com/ingydotnet/git-subrepo
  16. …that keeps metadata information in both your filesystem and your history so that things stay sane. https://github.com/ingydotnet/git-subrepo
  17. That's why I went with git-subrepo [0] over submodules. [0]: https://github.com/ingydotnet/git-subrepo
  18. 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
  19. 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
  20. 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
  21. …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
  22. …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
  23. …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
  24. …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
  25. 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
  26. 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
  27. …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…