• dan@upvote.au
    link
    fedilink
    arrow-up
    12
    ·
    3 days 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.

    • MummifiedClient5000@feddit.dk
      link
      fedilink
      arrow-up
      2
      ·
      7 hours 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.
  • AbidingOhmsLaw@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 days 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.

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

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