Created
October 2, 2020 12:45
-
-
Save tacahiroy/4d6f97350dcd2f76e12817d7d2a78323 to your computer and use it in GitHub Desktop.
To change the default branch for the bare repository in Git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://stackoverflow.com/a/3302018/1431621 | |
git symbolic-ref HEAD refs/heads/mybranch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment