-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git submodules 'remote' option #645
Comments
Hi there... I may have an issue related to this one. I have a repository from which I have forked (https://github.com/OpenModelica/OpenModelica.git). My fork is https://github.com/jdpipe/OpenModelica.git. This repository uses various submodules, one of which I wanted to fork and then modify. My forked submodule is https://github.com/jdpipe/OMCompiler-3rdParty.git. I have updated the Here's the problem though... when I attempt to check out my forked copy of the OpenModelica repository, it is failing to pick up my settings for the submodule I think there could be a bug in the Not sure if you can access this output, but the results of my actions/checkout effort are here: |
We would love to have that feature too. We are building a website consisting of multiple submodules where we would need to fetch the newest version of the submodule |
Would also like to see this feature. |
actions/checkout#645 还要手动 remote submodule 的话感觉手动 clone 也没差(
* ci(build-pdf-typst): refine workflows & auto fetch latest deps * ci: give up using actions/checkout for export actions/checkout#645 还要手动 remote submodule 的话感觉手动 clone 也没差( * ci(build-pdf-typst): set GH_TOKEN for gh cli * ci(build-pdf-typst): fix lxgw-wenkai extraction * ci(build-pdf-typst): use typst-community/setup-typst and --font-path * ci(build-pdf-typst): mkdir .fonts * ci(build-pdf-typst): fix tar arguments order * ci: rename export artifacts
It would be also very helpful for GitHub actions that run e.g. daily to track if everything still builds and runs with upstream changes in submodules. |
Hi Experts,
I would like to request an additional option that will add the parameter
--remote
to the "git submodule update" command. This parameter is really important because it will get the latest commit coming from the git submodule. If it is missing then the there is a big chance the git submodule to be checked out in detached HEAD different than the latest commit.Best Regards,
Iliyan Petrov
The text was updated successfully, but these errors were encountered: