Created
June 30, 2020 21:54
-
-
Save leopd/110ce65937230dfc23179f6314551236 to your computer and use it in GitHub Desktop.
How to make your source control a little less racist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git checkout -b main | |
git branch --delete master | |
git push origin main | |
echo "Go to github, Settings, Branches, Default branch, main, update." | |
read -p "Press enter when done: " dontcare | |
git push origin --delete master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment