更新时间:2023-11-30 14:25:40
要在github中更改它,请转到管理部分。从下拉列表中选择默认分支。
In my remote bare repository the HEAD is pointing to "refs/heads/master" and I want it to point to "refs/heads/other".
I am not able to go to remote repository directory and run git symbolic-ref
. Is there any git command to achieve it? Or any other way?
If there is no way, does Github allow one to change the HEAD?
Thanks in advance.
To change it in github, go to the admin section.
You can select the default branch from a dropdown there.