Github 0.1 How to make a fork of pubilc repository to private?

Fork the original github repository to mine. Create a new repository in your github repository. Clone the public repository using options –baregit clone –bare https://github.com/exampleuser/public-repo.gitcd public-repo.gitgit push –mirror https://github.com/yourname/private-repo.gitcd ..rm -rf public-repo.git Clone the private repository to work on.git clone https://github.com/yourname/private-repo.gitcd private-repogit remote set-url –push origin https://github.com/mirroredmake some changesgit commitgit push origin master Pull recent update from the public repositorycd private-repogit remote add public https://github.com/yourname/private-repo.gitgit pull public mastergit push origin master Reference : https://medium.com/@bilalbayasut/github-how-to-make-a-fork-of-public-repository-private-6ee8cacaf9d3 Github 0.1 How to make a fork of pubilc repository to private? 더보기