I am trying to migrate my git repository from AWS to GCP.
I am following these steps:
git clone --mirror URL
git remote add NEW-REMOTE URL
git push NEW-REMOTE --mirror
git remote rm origin
git remote rename NEW-REMOTE origin
So whenever I open the GCP console source repository, it is only showing the commit history of the master.
I want to migrate my whole repository with all the history and tags to GCP.
Thanks in advance.