• Valmond@lemmy.mindoki.com
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago

    push origin your/branch

    Pushes, you guessed it, your/branch!

    Head is usually your checked out working branch if you’re not in a headless state, right?

    • jelloeater - Ops Mgr@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      Force push main, straight to jail🤣

      Yup yup, usually you’re on a branch, sometimes a tag. I mean it’s all just pointers to references at the end of the day. I tend to treat Git like a story book, some folks still act like it’s SVN.