DEV Community

👨‍💻Pierre-Henry ✨
👨‍💻Pierre-Henry ✨

Posted on • Edited on

How to rename git master branch to main

In this video, I will show you how you can rename easily a git branch name from master to main (or trunk) locally and reflect the changes remotely go your GitHub repository through git CLI.


Top comments (0)