I need to sync between two different git repos, but both the repos have same project code/files and different package structure.
The problem currently facing is I need to clone and push the changes 2 times, is it possible to do a push to both the repos from a single push
Example
Repo1: com/example1/demo/DemoService.java
Repo2: com/emample2/demo/DemoService.java
(Note: The files will be the same in both the repos, the only change will be the package structure)
Now when I make changes in com/example1/demo/DemoService.java and push from local it should be pushed to both example1 and exmaple2, is this possible? If yes please let me know what are the necessary steps to be done.