0

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.

aschultz
  • 1,658
  • 3
  • 20
  • 30
Harsh Manvar
  • 27,020
  • 6
  • 48
  • 102

1 Answers1

0

GCP does not show the branch history when you change the branch from panel.

GCP shows it in a different manner, as change history.

When you click on any file, then you can see all the file change history from the change history panel in GCP.

aschultz
  • 1,658
  • 3
  • 20
  • 30
Harsh Manvar
  • 27,020
  • 6
  • 48
  • 102