How to rename private repository in GitHub for Desktop? #22147
-
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 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @IvanNextToJunior, since you’re using GitHub Desktop, are you able to use the Rename… option under the Branch menu? |
Beta Was this translation helpful? Give feedback.
-
No, it’s grayed out |
Beta Was this translation helpful? Give feedback.
-
@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:
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! |
Beta Was this translation helpful? Give feedback.
-
That’s actually the case. Thank you |
Beta Was this translation helpful? Give feedback.
@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:
master
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!