I have directory structure like so:
|-- ROOT
|-- Project1
| |-- application
| |-- img
| |-- js
| |-- css
| `-- system
|
|-- Project2
| |-- application
| |-- img
| |-- js
| |-- css
| `-- system
|-- Project3
....
Root folder contains total of x projects: "Project1", "Project2", "Project3" and so on.
Now i'd like to use git on "system", "css" and "js". These folders should be identical for each project. So how can sync all projects with git?
I'm guessing to create a "Master Project" and push new modifications to there and pull new version to all other projects. But that's pain in the a**..
What i'd like is to run some command/batch file to sync all at once. Eg if i have 6 projects and i modify something in project 1, how can i get this modification to all projects fast(instead of pushing Project1 to "Master" and pulling it 5 times)?
Is it possible?
Just for a record i'm working on a Windows machine.
Previous question: Git between multiple projects