git push origin main
Then
error: src refspec main does not match any
I got an error like this.
git push origin HEAD:The name of the branch you want to push
So, I was able to push safely.
Recommended Posts