- Try
git show-refto see what refs you have. Is there arefs/heads/master?
Due to the recent "Replacing master with main in GitHub" action, you may notice that there is a
refs/heads/main. As a result, the following command may change fromgit push origin HEAD:mastertogit push…
Top comments (0)