0

Right now I'm working on a fork of a project and I need to cherry-pick some changes from the master branch to the forked branch.

The problem is that master is updated to the new project structure.

So source files are located in ./src/main/java instead of ./src

Any suggestion how to cherry-pick changes from master?

Minas
  • 1,422
  • 16
  • 29

1 Answers1

1

For GIT it shouldn't be a problem, cause GIT track file changes throughout the project. If you are working on the same repository but on other branches you can use rebase. Here is a nice example.

Otherwise I think the good way is to create git path for specific commit in master project and apply it to fork project. Here you can see that it is not difficult

To avoid issues related to different IDEs I recommend do that via console. In both cases, it might be a need to resolve the conflicts, good luck!