Within three years of Git's appearance, GitHub emerged. GitHub is basically a web service built on top of the Git version control system. It enables developers to easily post their code online, where others can simply clone their repository and use their code. Creating an account on GitHub is free and can be done by following instructions on their official homepage (https://github.com).
Currently, our application is structured as per the following image:
What we want to do is to split it into six different Git repositories, as follows:
core
catalog
customer
payment
sales
shipment
The core
repository is to contain everything except the content of the src/Foggyline
directory.
Assuming we created an empty core
repository on GitHub, and our local all-in-one app is currently held in the shop
directory, we initialize the following commands on our computer:
cp -R shop core-repository rm -Rfcore-repository/.git/ rm -Rfcore-repository/src/Foggyline/* touch core-repository/src...