Clone template:
git clone git://github.com/xytis/cmake-skeleton.git ${PROJECT}
Here
${PROJECT}
is the directory name of your project.Change default repository. Assuming you are in project directory:
git remote rename origin template git remote add origin ${REPOSITORY} git push -u origin master
Here
${REPOSITORY}
is the URL of your public repository (at github or somewhere else).Replace
README.rst
with yours.
If you want to update template:
git pull template master