I have been developing 2 parts of a project separately, and I'd like to merge them. I did not push any of them to a remote server, but I want to.
2 local repos to merge :
- software on Linux PC (SW)
- microcontroller firmware on Windows PC (FW)
How do I end up with a single repository with this structure ?
project | +----fw | +----sw
And if possible, keep the history of SW and FW ?
This article explains a similar situation. But I wonder if I could do the same, setting up only one remote, like :
- push SW to remote from Linux
- clone SW from Windows into a new directory
- create a branch called merge-fw
- pull FW from local directory → what's the syntax for the repository argument in git-pull ???
- merge merge-fw into master
Thanks.