/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

stevenmortimer.com
| | mathspp.com

Today I learned how to rename a git branch from the CLI.
2.9 parsecs

Travel
| |
| | 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 ...
0.9 parsecs

Travel
| |
| | 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.
1.0 parsecs

Travel
| |
| | blog.bloomca.me

The blog of Seva Zaikov
14.7 parsecs

Travel
|