T
T
Tehnikr2021-04-02 04:17:20
GitHub
Tehnikr, 2021-04-02 04:17:20

How to set up GitHub for two projects with common logic?

There are two Java projects. One for Android, in Android Studio, the second in the idea, under JavaFX. Projects have a common part - logic, several classes, and there are gui classes, respectively, different. The projects are in different repositories. I would like the common part with the logic when updating on the github to be updated in both repositories at the same time. How to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2021-04-02
@rPman

Third repository for shared code
Use git submodule

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question