A
A
Alexander2020-11-22 17:39:22
git
Alexander, 2020-11-22 17:39:22

How to copy a project from github?

Hello, I created a repository and uploaded my project there, which is used as a template when creating chat bots for telegram.

Now when I start a new project with a bot, I do a git clone https://git-name , it copies the project to the local machine. The question is, I want to push the bot to a separate repository https://git-name-2 , and the code that is cloned is used only as a template. How can I do better? Clone the project and delete the .git folder, then reinitialize or are there special commands for this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
koperagen, 2020-11-22
@AlexMine

On github, you can make a template from the repository
https://docs.github.com/en/[email protected]/gi...

A
Alexander, 2020-11-22
@NeiroNx

Use branches.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question