Post AxqGpUOBPiMR3x5ssi by pro@mu.zaitcev.nu
 (DIR) More posts by pro@mu.zaitcev.nu
 (DIR) Post #AxqGpS7Rqxmo1TFUWG by hrw@society.oftrolls.com
       2025-09-01T09:23:07Z
       
       0 likes, 0 repeats
       
       Git submodules are handy way to share files between projects.At same time they are PITA when it comes to updating.`git submodule update`?`git submodule update -f`?`git submodule sync`?I am starting to consider dropping submodule in favour of manual cherry-picking update between repos.
       
 (DIR) Post #AxqGpTBNtoWrJy69IG by penguin42@mastodon.org.uk
       2025-09-01T11:51:01Z
       
       0 likes, 0 repeats
       
       @hrw Blech, I hate them!
       
 (DIR) Post #AxqGpUOBPiMR3x5ssi by pro@mu.zaitcev.nu
       2025-09-03T21:50:12.526106Z
       
       1 likes, 0 repeats
       
       @penguin42 @hrw I hate submodules very much too. However, their implementation has become far less buggy in the last couple of years. It used to be extremely easy to break your repository completely with them. But in 2025 you can live with them with little trouble for months, maybe even years. BTW, it's "git submodule update". Don't do -f. The main remaining reason for my hate is how easy to is to forget to update them. And a less important reason is that branches are prevalent in modern git workflows (instead of cloning), and they conflict with submodules.
       
 (DIR) Post #AxqGpVtPp4wDj6iLCa by hrw@society.oftrolls.com
       2025-09-01T09:37:58Z
       
       0 likes, 0 repeats
       
       `git submodule update --remote` was what I was looking for.