Reputation: 14685
I have been sole developer, working on a project with a local repository under git.
Now I need to create a bare repo for collaboration on a local network.
How do I do that?
Upvotes: 1
Views: 583
Reputation: 14685
git clone -l --bare old_repo_dir new_repo.git
Note: if the plan is to collaborate over the web, it might be better to simply create a web-hosted repo and push the local one to that.
Upvotes: 3