lemmy.onlylans.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
LoveEspresso@cafe.coffee-break.cc to Asklemmy@lemmy.mlEnglish · 10 hours ago

How to journey into the world of git ?

lemmy.ml

message-square
12
fedilink
10

How to journey into the world of git ?

lemmy.ml

LoveEspresso@cafe.coffee-break.cc to Asklemmy@lemmy.mlEnglish · 10 hours ago
message-square
12
fedilink
alert-triangle
You must log in or register to comment.
  • dan@upvote.au
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    8 hours 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.

  • Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    6
    ·
    7 hours ago

    I always recommend Oh My Git.

    • LoveEspresso@cafe.coffee-break.ccOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 hours ago

      Thanks. This is what I had been looking for.

      • jlow@slrpnk.net
        link
        fedilink
        arrow-up
        6
        ·
        7 hours ago

        The people who’ve made this are both on the Fediverse:

        https://vis.social/@bleeptrack https://chaos.social/@blinry

        🎉

        • LoveEspresso@cafe.coffee-break.ccOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 hours ago

          Just responded to a post by bleeptrack.

  • Arrandee@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    10 hours ago
    • Save a file
    • Commit it
    • Change that same file
    • Commit it
  • AbidingOhmsLaw@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 hours 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.

    • dan@upvote.au
      link
      fedilink
      arrow-up
      9
      ·
      8 hours ago

      It’s called a “merge request” in Gitlab, which is a much better name.

      • AbidingOhmsLaw@lemmy.ml
        link
        fedilink
        English
        arrow-up
        4
        ·
        8 hours ago

        Yes, That would be good, easy, and understandable

  • Melobol@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    7 hours ago

    There is Pro Git book also.
    ChatGTP told me to read it after I wiped 4 hours of work by listening to llms :D

    • LoveEspresso@cafe.coffee-break.ccOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours 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
        2
        ·
        3 hours ago

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

Asklemmy@lemmy.ml

asklemmy@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it’s welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

  • [email protected]
  • [email protected]
  • [email protected]

Looking for a community?

  • Lemmyverse: community search
  • sub.rehab: maps old subreddits to fediverse options, marks official as such
  • [email protected]: a community for finding communities

Icon by @[email protected]

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 673 users / day
  • 1.65K users / week
  • 4.09K users / month
  • 11.9K users / 6 months
  • 2 local subscribers
  • 54.4K subscribers
  • 8.48K Posts
  • 408K Comments
  • Modlog
  • mods:
  • Evan@lemmy.ml
  • OrangeSlice@lemmy.ml
  • mekhos@lemmy.ml
  • tmpod@lemmy.pt
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org