Submodule
Call it The GCDLADB if you like.
Git Submodule Tips 2 min read Jan 25, 2021 | Updated: Jan 27, 2021 12:10
I seem to have a never-ending struggle with git submodules. Today, I need to add some new features to one of my submodules in a non-ISLE project, but I’ve elected to post this here because this blog is relatively easy to search. I also feel fortunate to have found Mastering Git Submodules from Christophe Porteneuve. So, what I need to do now is update some submodule code, commit, and push that change back to its remote. I will also want to subsequentmly update a pair of projects that use the submodule so they are referencing the newest submodule code. ...
Git Submodule Workflow in ISLE 1 min read Dec 7, 2020
In the past few days I’ve attempted to update the “staging” copy of Digital.Grinnell at https://dg-staging.grinnell.edu and learned a valuable lesson regarding workflow around Git and submodules. Specifically, I found the following resource to be most helpful: https://intellipaat.com/community/9971/git-update-submodule-to-latest-commit-on-origin In case that post ever disappers, here’s the gist of it… The git submodule update command actually tells git that you simply want your submodules to each check out the commit already mentioned in the index of the superproject. If you want to update your submodules to the most recent commit available from their remote, you’ll try this directly within the submodules. ...