I created a Project (https://github.com/twaldecker/vim-cheat-sheet) and now I realized that I like the style of the cheatsheet and want to create a template out of it.
What I did is:
git clone cheatsheet-vim cheatsheet-template
cd cheatsheet-template
# remove vim specific content, some additions
cd ../cheatsheet-vim #go back to vim project
git checkout -b testbranch #create a new branch
git remote add template ../cheatsheet-template
git fetch template
git merge template/master #now I got the template project as branch in the base project
The question now is how to let the vim-cheatsheet project base on the template created out of the project itself.
What I want to have:
- have the template project which I can change
- have the cheatsheet-vim project where I can pull the canges from the template