- git push origin master
- crap...
- git push origin main

  • 24
    git push upstream master --force

    Sorry, not sorry.
  • 8
    @C0D4 "Gotta teach them how to behave!"
  • 5
    @Jilano the worlds gone nuts, got to pull the whip out!
  • 2
    hey Hey HEY calm down, buddy!
  • 0
    In the case that git itself merged a pull that renamed "master" to something nonsensical like "primary", I wonder how hard would it be to keep a fork of git with the original naming.
  • 1
    Is create a master branch and use that as the 'main' 😄
Add Comment