• Eager Eagle
      link
      English
      2110 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.

      • @agent_flounder
        link
        English
        910 months ago

        I see you have been spying on me for some time.

      • slazer2au
        link
        English
        510 months ago

        Git pull

        Git push

        Git stash

        The only 3 I know.

        • Eager Eagle
          link
          English
          6
          edit-2
          10 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
      310 months ago

      I wish Mercurial had won.