Git: How to create a tag that also include submodules?
问题 I got a project with many submodules, I just made a release and I want to tag it all. I want to create a point where I can checkout in the future and it will include the current code of my project along with all the current code of all submodules. 回答1: When you tag a commit, you are tagging the version of your submodules that is being used by that commit. When you use a submodule, your commit includes the SHA of the commit in the submodule that your code is currently using. When you update