How to duplicate a git repository on gitlab/github without forking?
•
1 min read
In gitlab there is functionality out of the box:
- Go to
Settings->Generalof existing project - Last expanded panel
AdvancedcontainsExportbutton. Click it and then on the top of this page you can see info messageProject export started. A download link will be sent by email. - Check email. There is following message:
Project NAME_OF_YOUR_EXISTING_PROJECT was exported successfully.
The project export can be downloaded from: SOME_LINK The download link will expire in 24 hours.
- Click SOME_LINK and then check the
Downloadsfolder - Go to
Project - Your projectspage - Click the button
New project - Set name of your new project on
Blank projecttab - Then go to
Import projecttab - Click the button
Gitlab export - Click
Choose fileand select previously downloaded file*.tar.gz - Click the button
Import project - Then you will see
Import in progresslabel. - DEAL
source : https://stackoverflow.com/a/58525049