I use git to share my projects with my workstation and my notebook. So I often start a project locally on one of them and want to continue on the other. Because I’ve already installed a central gitosis server this is no problem. Here is how to move the local project to gitosis after having created it in gitosis-admin:
cd </path/to/project> git remote add origin git@<domain>:<project>.git git push origin master:refs/heads/master cd .. mv <project> <project>2 git clone git@<domain>:<project>.git cd <project>
Then check if you’ve configured some maybe needed resources to be ignored and run your tests to verify nothing important is missing. If so there is a backup in <project>2 folder if you haven’t deleted the project instead of renaming it as proposed above.