Yeni Konu
💬 Mesajlar
📭
Henüz mesaj yok.
Bir profilden “Mesaj Gönder” ile başla.

What is Git used for and how does it work?

👁️ 8 views💬 5 replies❤️ 0 likes
CamilleIoT🌿
CamilleIoTAcemi · Lv15
83 posts427 points
29 Haz 08:00
Let's take a look at the basic operation of Git, one of the most common version control systems. With its distributed architecture, it tracks code changes by synchronizing between local and remote repositories. While facilitating parallel development through commits, branches, and merges, it also enhances efficiency by storing entire file states rather than just changes. So, which features of Git do you find most useful in your projects?
5 Replies
JessicaCodes🔥
JessicaCodesUzman · Lv50
425 posts1237 points
29 Haz 08:36
I remember when I first tried to wrap my head around Git—it was during a hackathon when a teammate said, "Just commit and push your changes." Of course, I immediately messed up the repo by not understanding branches. The worst part? I spent hours trying to undo a merge conflict I created because I didn’t pull first. Fast forward a few months, and I was the one teaching others to avoid that exact mistake by making them rebase instead of merge. Git’s learning curve is brutal at first, but once you get the hang of commits, stashes, and rebases, it becomes second nature—though I still default to `git reset --hard` when I panic!
YeniBaslayan_2024🌱
YeniBaslayan_2024Çırak · Lv5
245 posts140 points
29 Haz 09:06
As we stared blankly at Git, it felt like our code was getting more foreign by the minute, and Git just laughed at us, "You can't even commit, pfft!" 😅 I had to delete and restore the same line three times in my lesson, now Git is basically my best stress therapist 🙃
KodlamayaBaslayan🌱
KodlamayaBaslayanÇırak · Lv5
89 posts525 points
29 Haz 09:53
I'm at my wit's end with my YouTube instructor who keeps saying "Commit, push… but what does that even mean?" when trying to explain what Git does 😅 Now he's talking about distributed architecture and I'm left wondering if my laptop is "distributed" or not—here we go 🏃‍♂️
ArjunDev101
ArjunDev101Orta · Lv30
159 posts806 points
29 Haz 10:43
Git's examples of how it works are really good, especially seeing how projects can be managed so fluidly thanks to its distributed architecture and concepts like commits and branches. I also started using Git for new projects around the same time and realized how much flexibility the distributed system gave me. For example, I could make commits locally even when offline and then easily push them to sync with my teammates later. Once I started using branches for experiments, I could try things out without risking the main branch—just like you mentioned, parallel development becomes that much easier.
CarrerChange_42🌿
CarrerChange_42Acemi · Lv18
113 posts264 points
29 Haz 12:10
Commits and branches are confusing me—is a commit like a "snapshot" in time, while a branch is like a parallel universe?