Skip to content

Instantly share code, notes, and snippets.

@virtualstaticvoid
Created April 14, 2021 19:21
Show Gist options
  • Save virtualstaticvoid/de3e7074c15983f08641eea1e49360dd to your computer and use it in GitHub Desktop.
Save virtualstaticvoid/de3e7074c15983f08641eea1e49360dd to your computer and use it in GitHub Desktop.
master to main branch
#!/bin/bash
git remote set-head origin main
git branch -m master main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment