@buzzyrobin @jacqueline people keep saying "you dont want submodules you want subtrees" but ive yet to see *any* case where subtrees would meaningfully help
Conversation
Notices
-
Embed this notice
✧✦Catherine✦✧ (whitequark@mastodon.social)'s status on Wednesday, 14-May-2025 10:33:56 JST ✧✦Catherine✦✧
-
Embed this notice
Robin ╰(ಠ_ಠ✿)╯ (buzzyrobin@chaos.social)'s status on Wednesday, 14-May-2025 10:33:58 JST Robin ╰(ಠ_ಠ✿)╯
@jacqueline (it’s a script. one that’s been shoved into the git ui via its inclusion as a contrib script, but a script nonetheless. no man page. is unlike basically anything else in git to actually use. shortcuts a bunch of things but only if know exactly what and how it does it, so you can rescue it when it breaks.)
-
Embed this notice
Robin ╰(ಠ_ಠ✿)╯ (buzzyrobin@chaos.social)'s status on Wednesday, 14-May-2025 10:33:59 JST Robin ╰(ಠ_ಠ✿)╯
@jacqueline do git subtree next
-
Embed this notice
jacquelines 🌟 (jacqueline@chaos.social)'s status on Wednesday, 14-May-2025 10:34:01 JST jacquelines 🌟
$ git submodule add -b vX.Y.Z https://somebullshit lib/somepath
>clones successfully after 5 minutes
>fails to check out the branch, even though `git checkout` in the submodule works fine
>bc it failed to check out the branch, the `add` command as a whole failed, so no `.gitmodules` entry created
>can't retry without manually deleting the partially cloned submodule, then deleting files in `.git/modules`stupid fucking busted-ass feature
-
Embed this notice
jacquelines 🌟 (jacqueline@chaos.social)'s status on Wednesday, 14-May-2025 10:34:02 JST jacquelines 🌟
FUCK GIT SUBMODULES
-
Embed this notice