|
You are here |
amanhimself.dev | ||
| | | | |
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 ... | |
| | | | |
haacked.com
|
|
| | | | | A git alias to clean up gone branches. Even ones that have been squashed and merged. | |
| | | | |
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. | |
| | | | |
unixdigest.com
|
|
| | | [AI summary] This tutorial explains a simple Git workflow to manage your home directory by using a white-listing approach with a wildcard in .gitignore to selectively track specific files while ignoring everything else. | ||