M
M
Muhammadkhon Abdullaev2020-10-17 07:59:27
git
Muhammadkhon Abdullaev, 2020-10-17 07:59:27

How to change the name of a remote repo in Git?

Hello. I'm still new to Git and I have a problem. You need to change the master branch name in GitHub. I now have the name main, I need master. I will be grateful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-10-17
@Muhammadkhonofficial

You make a master branch from main, push it, make it the main one, delete main.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question