/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

amanhimself.dev
| | mathspp.com

Today I learned how to rename a git branch from the CLI.
1.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 ...
1.6 parsecs

Travel
| |
| | haacked.com

A git alias to clean up gone branches. Even ones that have been squashed and merged.
1.9 parsecs

Travel
| |
| | stevenmortimer.com

Follow these easy 5 steps to change the default branch name in your repo to 'main' instead of 'master' to show support for removing divisive language in tech.
1.0 parsecs

Travel
|