Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clone/copy repo into another Azure DevOps project?

How to clone/copy repo into another Azure DevOps project? I've seen fork option however it then gives possiblity of merging it back, which I don't want, I would like to copy/clone existing repo into new project and preserve its history.

like image 537
Yoda Avatar asked Jan 25 '26 23:01

Yoda


1 Answers

You can create a new repository and import data into it: https://learn.microsoft.com/en-us/azure/devops/repos/git/import-git-repository?view=azure-devops

Steps

  1. Create a new empty repo in another project.
  2. In your existing repo press Clone, Generate Git Credentials and remember URL and user data

enter image description here

enter image description here

enter image description here

  1. Use this information in the import repository wizard of the new repo.

enter image description here

like image 71
Shamrai Aleksander Avatar answered Jan 27 '26 12:01

Shamrai Aleksander