Answer the question
In order to leave comments, you need to log in
Adding two projects to git (Eclipse)?
I have two projects open in Eclipse in one workspace. For the first project, I made a commit and it was assigned an id (Strings 1). Then I pushed the second project to git and it was already given a different id (Strings 2). Next, I made changes in the first project and now I need to add it to git. How can I do that? After all, the last added project is my second and, accordingly, the id for the second project. Below is a photo of the git history.
Answer the question
In order to leave comments, you need to log in
You have one repository in which there are two projects -> you do not understand what you are doing.
Each project must have its own repository.
Read https://git-scm.com/book/en/v1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question