My Technical Notes

Thursday, 16 June 2016

Creating a Git Repo on the Network From a GitHub Repo

You first `cd` to the network path, then you clone the GitHub repo to a "bare" repository:

git clone --bare the_projects_name.git

Then you can `clone` this network repository into a working directory and then pull and push as usual.

No comments: