suppose I have a remote repository (git@server:project.git
) with following structure:
./client
./server
And then I created a local repository in directory ~/myproject/test
using git init; git add . ; git commit -m "init check in "
. I want to push this local repository to the remote repository as a sub-directory test
paralleled with client
and server
, that is
./client
./server
./test
I wish all the check-in history in the local could be kept in the remote repository . Is there any way to achieve this? Thanks!