Hello, everyone! Is that possible to rename a branch in private repository? If yes, how to do that? I have default security settings on that branch
Hi @IvanNextToJunior, since you’re using GitHub Desktop, are you able to use the Rename… option under the Branch menu?
@IvanNextToJunior it looks like you are trying to rename your default branch, which currently is not possible in GitHub Desktop. The best solution is to follow these steps:
- Create a new branch off of
- Publish the branch to your repository on GitHub
- Change your default branch on GitHub
You’ll need to refresh your repository after you change the default branch – selecting the repository again in GitHub Desktop should refresh and grab the new default branch from the API. I hope that helps!
That’s actually the case. Thank you