Skip to content
Discussion options

You must be logged in to vote

I think the simplest thing would be to rename the master branch to main in your fork.

Unset the upstream via the menu, rename the branch to main and push it to origin/main. Tried it now and it works, and requires no intervention from our side.

The tag named refs/heads/master is not something I have come across, so I take it this workaround will suffice even for others who find themselves in such a situation.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@mark2185
Comment options

@AndrewSav
Comment options

@AndrewSav
Comment options

@mark2185
Comment options

Answer selected by AndrewSav
@AndrewSav
Comment options

@mark2185
Comment options

@AndrewSav
Comment options

@mark2185
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants