How do I create a bare repo clone of existing git working repo -
I am the sole developer, I am working on a project with a local store under GIT.
Now I need to create an unmatched repo for collaboration on the local network.
How do I do this?
git clone -l -bare old_repo_dir new_repo.git
Note: If the plan is to collaborate on the web, then it may be better to just create a web-hosted repo and push the local to it.
Comments
Post a Comment