Combine git repositories

Sometimes, you make a mistake and you start with a lot of git repositories that actually belong to each other and are dependent of each other. You are stuck with these git repositories and you want to combine them into one git repository. But, you don’t want to lose your git history. I suggest, in order to avoid these problems, to start with one git repository when you do not have good reasons to split an application into more repositories. It is easier to split repositories than to combine them and working with one git repository makes the administration a lot easier. However, if you are stuck with too many repositories and want to get rid of them, the guide below will help you. Continue reading “Combine git repositories”