My team is developing a project in Laravel and recently we had to make a new branch because of different front end.
Is it possible somehow to apply the changes from one branch to another and vice versa but so that the front end is untouched.
This should be somehow separated because of the front end so whenever we work on front end we push to same branch, but if we work on backend then it should be pushed on both branches....How to do this?
It should be something like this:
When you work on the backend you need to first push to one branch and after that do a "git cherry-pick" to the second one:
> git checkout <second-branch> > git cherry-pick <first-commit>
More info: git help cherry-pick