git branch -m master main
git push -u origin main
git push origin --delete master
But...you can do this as an Rmd with the git commands in a bash chunk
See https://gist.github.com/MonkmanMH/b0b6c9b57e3b33b04b019710184c2385
git branch -m master main
git push -u origin main
git push origin --delete master
But...you can do this as an Rmd with the git commands in a bash chunk
See https://gist.github.com/MonkmanMH/b0b6c9b57e3b33b04b019710184c2385