/explore
|
You are here |
stevenmortimer.com | ||
| | | | |
mathspp.com
Today I learned how to rename a git branch from the CLI. |
|
| | | | | ||
| | | | |
scottgruber.me
Here are the steps to replace master with main branch.This is a simple fix to avoid any negative connotations inherit in master:slave terminology. Although in the history of git the etymology of master was in the sense as master:copy. Move the master branch to main with the command: git branch -m master main Using the argument -m will transfer all of the commit history on the 'master' branch to your new 'main' branch so nothing gets lost. Push the newly-named main branch to GitHub (assuming that is your ... |
|
| | | | | ||
| | | | |
amanhimself.dev
[AI summary] A guide on renaming the default branch from master to main in Git and GitHub, detailing local and remote branch renaming steps. |
|
| | | | | ||
| | | | |
blog.bloomca.me
The blog of Seva Zaikov |
|
| | | |||