Skip to content
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

Changed the way to manage some libraries in the repository #16

Open
TLabAltoh opened this issue Jan 31, 2024 · 3 comments
Open

Changed the way to manage some libraries in the repository #16

TLabAltoh opened this issue Jan 31, 2024 · 3 comments
Labels

Comments

@TLabAltoh
Copy link
Owner

It's a little late, but we have changed our policy to manage some libraries in the git repository as submodules. This may cause some problems for people who cloned the repository before the change, when they pull changes from now on.

git clone --recursive https://github.com/TLabAltoh/TLabWebViewVR.git

command to create a new clone, including initialization of the submodules.

@TLabAltoh
Copy link
Owner Author

Note: When importing updates to the repository, remember to include updates to submodules.

git fetch origin master
git pull origin master

git submodule update --init // Match the submodule version specified by the repository

@HafizMSaad
Copy link

// Match the submodule version specified by the repository

// Match the submodule version specified by the repository
What does this ^ mean?

@TLabAltoh
Copy link
Owner Author

The git repository has recorded the commit id of the submodule used in the latest commit.

git submodule update --init are fetch submodule with git repo registered commit id.

For example, I have checkout submodule (TLabWebView) to bellow commit and push to remote, the user clone or fetch this repository will fetch same commit id of the submodule when run above command.

commit 243cd11ddc3005372aec53ba3f9f19295fe7f790 (HEAD)
Author: TLabAltoh <[email protected]>
Date:   Fri Mar 29 20:35:47 2024 +0900

    update native plugin

@TLabAltoh TLabAltoh changed the title [Announce] changed the way to manage some libraries in the repository Changed the way to manage some libraries in the repository Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants