0

I want to import the sources of an external repository into my repository. For example from this project: https://github.com/SpongePowered/Sponge

Where "Mixin" is imported. I want to do the same thing, but I don't know how.

1

1 Answer 1

1

Those are called submodules. They are mostly used when you want to use some other project inside your project without importing the project's code separately.

You can do it for your project by just adding a submodule to your project.

git submodule add https://github.com/SpongePowered/Sponge

Read here for more info

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.