• xthexder
      link
      fedilink
      arrow-up
      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