DEV Community

loading...

Discussion on: Replacing master with main in Github

Collapse
adambrandizzi profile image
Adam Brandizzi

Thank you for this article, it was very helpful. I'd just complement that, if one wants to type only git pull, it may be necessary to set the upstream of the branch:

$ git branch --set-upstream-to=origin/main main
Forem Open with the Forem app