• Eager Eagle
      link
      fedilink
      English
      215 months ago

      nonsense - never just delete the project and start fresh. You spend 20min trying to diagnose the problem by searching for the error messages and looking at the manual, then 1h-2h trying different solutions that only make the problem worse up to the point you actually think you lost your changes, then you realize your changes were stashed all along, then you apply them and notice you still have the same original problem. You try a few more commands that get you to a detached head. Then you try to solve a detached head, realizing after 30 min it’s an impossible task, and only then you delete everything and start fresh.

      • slazer2au
        cake
        link
        fedilink
        English
        55 months ago

        Git pull

        Git push

        Git stash

        The only 3 I know.

        • Eager Eagle
          link
          fedilink
          English
          6
          edit-2
          5 months ago

          that and git log + git status to “debug git”

          anything else is a magic spell you copy from stack overflow

    • ono
      link
      fedilink
      English
      35 months ago

      I wish Mercurial had won.

      • @u_tamtam
        link
        35 months ago

        I’m with you. Hg-git still is to this day the best git UI I know…