3 ms·
Yes it's politically correct but adding "git branch -M main" on every new repo the mankind creates is just a waste of goddamn bytes and kills a penguin every ye
by onion2k 6y ago
Yes it's politically correct but adding "git branch -M main" on every new repo the mankind creates is just a waste of goddamn bytes and kills a penguin every year for every extra cpu cycle it wastes.
If you really want to use an environmental argument it's very likely that using a branch name that's 2 characters shorter on every merge to the main/master branch, every list of branches, every Github page that displays the main/master branch name, etc will save a far greater amount of energy than renaming repos will ever use. On a random repo homepage the word 'master' appears 31 times in the HTML content, so switching to 'main' would reduce the bandwidth on every single page load by 62 characters[1].
Any repo that opts out must be run by a climate change denier.
[1] Compression has been ignored to protect the argument.