Home > Net >  GIT HELP : main branch is empty and inactive
GIT HELP : main branch is empty and inactive

Time:10-01

i don't know how I did it but after spending a week on a project and thinking i was merging everything on "main", I just realized that my main branch is not only empty, but also that I can't pull, push, nore create pull requests from the other branches into it

Main is basically empty except for a Readme file, and the other branches are just hanging there. I also can't set an other branch to default...

What ca I do ??

CodePudding user response:

I manually set an other branch as default on gitHub and named it "main" Deleted the other

Works fine !

  • Related