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

Add ThirdPartyAssets/ as git submodule #60

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

nucleartide
Copy link
Owner

@nucleartide nucleartide commented Apr 21, 2023

...so as not to commit licensed assets to the public Breadforge project.

Workflow

The following commands add a new git submodule to the project:

git submodule add git@github.com:nucleartide/Breadforge-ThirdPartyAssets.git Assets/Plugins/ThirdPartyAssets
git add .
git commit -m "Blah blah"

You can then track the history of the submodule separately from the main repo.

However, note that if you change a git submodule's contents, you must make two commits:

  1. You must commit the changes to the submodule first.
  2. Then, you must commit the updated submodule reference to the parent repo.

@nucleartide nucleartide marked this pull request as ready for review April 21, 2023 14:01
@nucleartide nucleartide merged commit e954094 into master Apr 21, 2023
@nucleartide nucleartide deleted the jason/add-third-party-assets-as-submodule branch April 21, 2023 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant