Project

General

Profile

Actions

Source code gitea

Gitea

How to migrate source code to gitea

git clone --mirror https://gitlab.com/group/project.git

cd project.git

git remote set-url origin https://gitea.company.com/group/project.git

git push --mirror

--mirror will push:

  • All branches
  • All tags
  • Other refs

Updated by Nguyen Cao Nguyen about 1 month ago · 11 revisions