This is an automated email from the ASF dual-hosted git repository. casion pushed a commit to branch dev-fixaction in repository https://gitbox.apache.org/repos/asf/linkis.git
commit 4b2cd67cc84204aad6ec272170c1edb2e2e1c7b6 Author: casionone <[email protected]> AuthorDate: Tue Nov 7 16:58:26 2023 +0800 update submodule --- .github/actions/chart-testing-action | 1 - .github/actions/kind-action | 1 - .github/info.md | 22 ++++++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/actions/chart-testing-action b/.github/actions/chart-testing-action deleted file mode 160000 index 2fffad315..000000000 --- a/.github/actions/chart-testing-action +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2fffad315319f278a64ba2e94505768bd9e2a633 diff --git a/.github/actions/kind-action b/.github/actions/kind-action deleted file mode 160000 index fa81e57ad..000000000 --- a/.github/actions/kind-action +++ /dev/null @@ -1 +0,0 @@ -Subproject commit fa81e57adff234b2908110485695db0f181f3c67 diff --git a/.github/info.md b/.github/info.md new file mode 100644 index 000000000..7ad2f651f --- /dev/null +++ b/.github/info.md @@ -0,0 +1,22 @@ +# Update a submodule to the latest commit + +Since git 1.8 you can do +``` +git submodule update --remote --merge +``` +This will update the submodule to the latest remote commit. You will then need to add and commit the change so the gitlink in the parent repository is updated: + +First, git add it +``` +git add project/submodule_proj_name +``` +then git commit it +``` +git commit -m 'gitlink to submodule_proj_name was updated' +``` +the git push it +``` +git push +``` + +more detail can refer:https://stackoverflow.com/questions/8191299/update-a-submodule-to-the-latest-commit --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
