Conversation

Replying to
The only way I know how to use git is to type things into stack overflow and then paste them into a terminal but if someone is using a GUI program there's nothing to paste into. Git can't be learned, and it can't be made easier by making GUI wrappers.
5
66
This Tweet was deleted by the Tweet author. Learn more
Replying to
so if I remember the arcane texts correctly, init only readies your environment for the submodules, and update actually fetches them, so at init it doesn't know yet about the submodule's submodules
1
Replying to and
You should use `git submodule update --init --recursive` as the only way to init and update submodules. It's still a horribly broken feature. There's no way to fix the fact that it can't cope with the remote URL being changed, etc. Has to be corrected manually in each clone...
1
1
Replying to
I prefer the hands off way Gerrit's git-repo deals with it where it manages a bunch of separate Git repositories in the same source tree. You can refer to external projects via revision but use branches internally for the development branch + generate frozen manifest for release.
1
1
Replying to and
Submodules don't work properly. They're just ridiculously screwed up for rebases, merges and when the URL of a submodule remote changes or other things like that. I have a ton of experience with Git and it doesn't get better. It's horrible. It's nothing that you're doing wrong.
1
1
Replying to and
Chromium's depot_tools stuff is as bad as dealing with submodules and potentially even worse but git-repo is actually really good. You can use it in a very sensible way, at least, and it doesn't break or get in the way. It's hands off + not opinionated but without complexity.
1