• slampisko@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        3 天前

        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@aussie.zone
          link
          fedilink
          arrow-up
          2
          ·
          3 天前

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