this post was submitted on 12 Apr 2024
56 points (91.2% liked)

Programming

17537 readers
129 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 28 points 7 months ago (1 children)
[–] [email protected] 9 points 7 months ago (2 children)

Nice! Man, it would be awesome to have a full on Libredirect as a Lemmy bot

[–] [email protected] 5 points 7 months ago* (last edited 7 months ago)

I know. I have a bunch of redirect extensions on all my device's browsers, so this is what I get when I click on these links. No such extensions on iOS sadly.

Setting up such a bot shouldn't be too hard though, I see it all the time for YouTube to Invidious instances.

[–] [email protected] 2 points 7 months ago

I'd love this. Medium is such an irritating enshittification of the web. It used to be just a nice and crisp content host, so of course the nanosecond they have inertia with users they start walling shit off. I usually bounce if I get linked to it.

[–] technom 3 points 7 months ago (1 children)

For anyone looking to learn git, the official book and site are thorough and exceptional. You can even download the eBook for free. While there's no harm in using other sources to learn git, don't use them as an alternative to the canonical source.

[–] embed_me 1 points 7 months ago

I completely agree. Still, the interactive graphical visualizations like in the ohmygit game are quite helpful and fun to play around with. I would recommend checking it out after you go through the official git book to consolidate your knowledge.

[–] [email protected] 1 points 7 months ago
[–] [email protected] 1 points 7 months ago

I just went through this and it made some things click in ways that just weren't clicking: https://ohmygit.org/
It was designed to allow for custom stages and I hope that a community rises up and fleshes out the more complex concepts. Yes I'm hinting.

[–] FizzyOrange 1 points 7 months ago

Quite verbose and I feel like it doesn't actually explain things that will. E.g. jumping straight into branches is a weird order.

I can't remember where I read it but the thing that made me understand Git was some tutorial that started out with "what would you do without git? You might copy & paste your whole project and add V2 on the end, then V3 etc. Those are commits. Now you want to keep track of things so you record parents etc..."

Semantically git is extremely simple so I don't think it takes long to explain it properly. The really tricky bit is the CLI, but my very strong recommendation is to not use the CLI until you have some experience of the semantics via a good GUI (e.g. Git Extensions) because you'll need a good mental model of what you are doing if you can't actually see it.