Get rid of the master-branch @ github

Written by  on October 30, 2016 

issue:

solution:

  1. create a fake branch and push it
  2. go to github > $your_repo > settings > branches > default branch and make the fake branch the current one
  3. delete master
  4. push new master
  5. revert the default branch

Category : BashGit

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.