Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create new repo from Github template

Tags:

git

github

I have created a repo designated as a template on Github that I'm trying to use as the basis for a new project so that I can reduce initial project startup time for projects with the same functionality.

Every time I clone that template to my local machine under a new project name, it is still associated with that original template and any commits will go there.

I've tried different variations of clone, meteor-boilerplate is what I'm trying to use as to begin an application called notes. git clone https://github.com/ajsingh4/meteor-boilerplate.git notes

Would appreciate any advice as to how I can use that template as the basis for a new project in a separate repository.

like image 649
user11499570 Avatar asked Sep 11 '26 01:09

user11499570


1 Answers

If you have created a GitHub template repository, then you don't clone it directly.

You create a new one from template, directly on the GitHub site.

Then you clone that new repository: you won't have to change its remote URL, it will already be the correct one.

like image 85
VonC Avatar answered Sep 13 '26 15:09

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!