Hi, I’m writing a script that incorporates some functionality from another script. The other script is developed and maintained by someone else, hosted on github and released under the MIT license. What is the best way to incorporate that other repo into my own with an easy way to keep it updated when the other developer releases a new version. I don’t really intend to contribute to the other repo, just use their code.
Submodules is the way to go, but really it’s always a good idea to use tagged releases or commit id’s for code from upstream as they might implement a breaking change at some point, taking Your project down with it.