Events2Join

Never use git submodules


Never use git submodules - Lobste.rs

git submodules violate the usual rule that all URLs, hostnames, and so on, used by git, are provided by the git configuration and the user, ...

Stay away from the git submodule approach? | by Fang Jin - Medium

The reason why submodule is introduced is to make sure we can install a snapshot of repo as a sub folder without declaring it as a dependency.

Ask HN: Why are Git submodules so bad? - Hacker News

You can't just commit/push, you have to commit/push the submodules first. With submodules every basic git operation gets extra steps and novel ...

Why your company shouldn't use Git submodules : r/programming

Submodules are for linking a version of your project to a specific version of another project/library. If you have to edit both projects in tandem they're ...

What are some common issues with using git submodules? - Quora

Git submodules are far from transparent and majority of software developers never learned to use submodules correctly.

Git Submodules are awful but occasionally necessary. - feoh.org

Git submodules are a fractal of bad UX, which is almost assuredly why they generate such incredibly strong feelings among the Git using community.

Why your company shouldn't use Git submodules

Submodules are for things such as commonly reused libraries, not for some afternoon hack attack someone threw up all over the repository. If ...

Never use git submodules - jarv.org

Never use git submodules · There is some logical separation or a clear defined interfaces between two things, and repos are cheap · There is a 1 ...

Who uses Git Submodules? - Source Code Control - LAVA

If a submodule is placed in a folder that previously existed in the repository (perhaps the one you moved into the submodule), checking out a ...

Needs an entry for git submodules issues where the answer is to ...

I learned a long time ago never to invade Russia in winter and never to use git submodules. ... Be it svn externals or git submodules, I never string them ...

Demystifying git submodules - cyberdemon.org

Submodules can only be pinned to a specific commit. This is because a submodule isn't a package; it's code that you have embedded in another ...

What are the advantages and disadvantages for the use of git ...

Git submodules represent one way to combine the content of several repositories in a well-defined manner. It's a technical solution that you ...

Managing repositories with Git submodules - Aviator Blog

One of the main drawbacks of submodules comes from its core i.e separate repos, since each submodule is a separate Git repository, you need to ...

How to un-submodule a Git submodule? - Stack Overflow

If all you want is to put your submodule code into the main repository, you just need to remove the submodule and re-add the files into the ...

Submodules That Don't Suck - DEV Community

Much of the difficulty comes down to this: Git submodules don't just sit inside parent repositories. Every version of the parent repository is ...

Using Git Submodules Effectively - Philosophical Hacker

So, if you're using git submodules merely as a way of sharing code, that's probably misguided, as it's a use case that git submodules weren't ...

Why, When and, How to use Git Submodules?

Why use submodules: ... Git submodules are by far (IMHO) the most complicated part of Git. They make you track multiple repositories altogether.

Julia Evans: "if you use git submodules, do …" - Mastodon

if you use git submodules, do you use them in a read-only way (where you never edit the code in the submodule, only pull changes sometimes) or read-write?

Sharing code and why git submodules is a bad idea.

Git submodules may look powerful or cool upfront, but for all the reasons above it is a bad idea to share code using submodules, especially when ...

How can you use Git submodules effectively? - LinkedIn

Regularly update submodules with 'git submodule update --remote'. Be cautious with changes; commit them within the submodule directory and then ...