Is there any way to configure the Cloud Source Repository to point the HEAD to the latest commit?
I created a new repository in Cloud Source Repositories and the HEAD is not pointing to anything in the remote repo (GCP) although inside my local repository the HEAD does point to the latest commit.
Even if I can see the content in the remote repository (Cloud Source Repositories), the HEAD is not pointing to any commit.
The procedure I used is:



It seems that Cloud Source Repositories autodetects the old naming convention for the main branch because the issue got resolved when I changed the name of the branch from main to master.
git branch -m main master
git push -u origin master
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With