• MummifiedClient5000@feddit.dk
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago
      • Get a weird error message about fast-forwarding local branch detached from remote while merging with a helpful suggestion to change your config.
      • The config change made the error message slightly different.
      • Google the error messages. Only one hit. The git source code.
      • Try to clone the git repo to investigate.
      • Get a new error message. Nothing makes sense now.
      • Burn house down, move to New Zealand, live as a sheep. Git will never harm you again.
  • dan@upvote.au
    link
    fedilink
    arrow-up
    12
    ·
    2 months ago

    You don’t absolutely need a central repository for Git. It’s decentralized. You can learn the basics (committing, branching, rebasing, amending, merging, resolving merge conflicts) entirely on your computer.

    My advice would be to get familiar with using Git locally first. Simulate things like merge conflicts - have two branches that both change the same line in a text file, then merge them together and resolve the conflict.

    Once you’re more comfortable with using it locally, learn about code forges like Github or Forgejo.

  • AbidingOhmsLaw@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 months ago

    The “pull” can get confusing to new users of git because they soon see people talking about “pull requests”. They should rename a pull request to a “sync request” or an “update review request” , etc.

    • LoveEspresso@cafe.coffee-break.ccOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      I don’t need a manual to read. I treat it like a new piano, whose keys l press to see what kind of sound they make. Makes any sense ?

      • Melobol@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        If it makes sense for you all that matters. I’m the type of person who reads the manual first :)