On the server side create a repo with files then fetch it into a bare repo which becomes our central repo.
mkdir repo cp -r /tmp/myproject repo/myproject cd repo mkdir myproject.git cd myproject.git git --bare init git --bare fetch ../myprojectmaster:master git config --global user.name scuadm git config --global user.email scuadm@localhost rm -rf ../myproject








Leave a Comment