Moving a git repository to a new host

Talles L - Mar 15 - - Dev Community
git clone --bare https://github.com/johnsmith/coolproject.git
cd coolproject.git
git push --mirror https://gitlab.com/johnsmith/coolproject.git
Enter fullscreen mode Exit fullscreen mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .