/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

ericlathrop.com
| | amanhimself.dev
1.4 parsecs away

Travel
| | [AI summary] A guide on renaming the default branch from master to main in Git and GitHub, detailing local and remote branch renaming steps.
| | scottgruber.me
2.8 parsecs away

Travel
| | 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 ...
| | dafoster.net
7.1 parsecs away

Travel
| |
| | www.brandonpugh.com
13.6 parsecs away

Travel
| If you've ever worked on a project with me then I've probably recommended at least one of these config settings in git. git config --global pull.rebase true - tells git to always pull with rebase instead of merge (the equivalent of pull --rebase). This not only saves you having to type the flag every time, but also ensures gui clients will also use rebase when pulling. Note: You should only enable this if you're comfortable with rebasing.