Duplicating a repository through github's interface #123235
-
Select Topic AreaQuestion BodyIs there a way to duplicate a repo on github through its interface? I have a repo I use for prototypes, and once the prototype has matured I want to have it in its own repo. For my case it would just be easier to duplicate the original repo and delete and what I don't want afterwards. I know that I can just clone the repo, and push it to the new one, but I was wondering if there was a simple way through the UI. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
No direct duplicate function on GitHub's interface, but two options:
|
Beta Was this translation helpful? Give feedback.
-
well you can do it by making an organisation my organisation>create new organisation>add new repository>import repository i think this will duplicate the repository with the interface. |
Beta Was this translation helpful? Give feedback.
No direct duplicate function on GitHub's interface, but two options:
Forking (Faster):
Clone & Push (More Control):
git clone <URL>
.cd
).git init
if needed).git add .
).git commit -m "Initial commit"
).git push origin main
).