• Zagorath
    link
    fedilink
    261 month ago

    I love fuck! I can never be bothered creating upstream Git branches when I’ve branched locally, I just type git push and it complains there’s no upstream, and then I type fuck and it does it for me.

        • @[email protected]
          link
          fedilink
          31 month ago

          It’s less typing but technically it’s one more request to the server which you have to wait for to fail before the correct request can be fucked, so it might be faster to do it the correct way from the get-go. Especially if you’ve done it before and you can just Ctrl+R and find it in the history, or you have a git alias (e.g. git phead)

          • Zagorath
            link
            fedilink
            21 month ago

            No, your local Git knows the branch isn’t tracking any upstream branch, so it never makes a request to the server.

    • @[email protected]
      link
      fedilink
      111 month ago

      There is also a zsh-Plugin for the fuck. That way you can just double hit esc and zsh… uhm… fucks… automatically for you