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,608
  • 3
  • 17
  • 28
Harsh Manvar
  • 17,825
  • 2
  • 30
  • 71

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,608
  • 3
  • 17
  • 28
Harsh Manvar
  • 17,825
  • 2
  • 30
  • 71