Aman Mittal 1/10/2022

How to rename default branch in Git and GitHub

Read Original

This technical tutorial provides clear, command-line instructions for renaming the default branch in Git and updating the remote repository on GitHub. It covers moving the branch locally, pushing the new branch, setting the remote HEAD, and deleting the old 'master' branch via the GitHub UI and terminal commands.

How to rename default branch in Git and GitHub

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week