Skip to content

Git ​

Fork a public repo into private Github repo ​

# create a private repo on github
git clone https://github.com/yourname/private-repo.git

git remote add public https://github.com/exampleuser/public-repo.git
git pull public master

# copy your changed files to this git, then select your private upstream