- Just click 'Fork' on the top right of the GitHub page
-
Make a new repo on GitHub (eg. datagovsg/opentext-clm)
-
Clone it
git clone git@github.com:datagovsg/opentext-clm.git
-
Add the url to the repo you want to fork, as upstream
git remote add upstream git@github.com:datagovsg/opentext-bare.git```
-
Pull all the files from the repo you are forking
git pull upstream master
-
Push all the files in your local fork to the repo on GitHub
git push origin master
On GitHub repo page - Settings - Scroll down to GitHub Pages - Select the branch you want to publish from: master/docs
On GitHub repo page - Settings - WebHooks on the left nav bar - Add webhook