• @[email protected]
    link
    fedilink
    1
    edit-2
    7 months ago

    Unless you’re rebasing or something, you should never need --force. It’s a good way to accidentally delete or overwrite a remote branch.

    I usually use the +syntax for force-pushing a specific branch: git push origin +my_branch

    • @Benaaasaaas
      link
      17 months ago

      I thought -a is shorthand to amend my bad