1. cd project.git 2. git symbolic-ref HEAD refs/heads/mybranch HEAD file (master): ref: refs/heads/master HEAD file (branch): ref: refs/heads/branch https://feeding.cloud.geek.nz/posts/setting-default-git-branch-in-bare/
Helper for developer
1. cd project.git 2. git symbolic-ref HEAD refs/heads/mybranch HEAD file (master): ref: refs/heads/master HEAD file (branch): ref: refs/heads/branch https://feeding.cloud.geek.nz/posts/setting-default-git-branch-in-bare/