Pulling changes from a template repository
After creating a repo using a template, you can pull changes from the template repository by adding the repo to your git remote
entries.
git remote add template [TEMPLATE_REPO_URL]
Then run this command to update all changes:
git fetch --all
This will create a new branch called template/[main branch name]
. Then you can use git merge
to apply all changes.
git merge template/[branch to merge] --allow-unrelated-histories