Although I prefer the Pro Git book, itโs clear that different resources are helpful to different people. For those looking to get an understanding of Git, Iโve linked to Git for Beginners: Zero to Hero ๐
The author of โGit for Beginners: Zero to Hero ๐โ posted the following on Reddit:
Hey there folks!
Iโve rewritten the git tutorial. Iโve used over the years whenever newbies at work and friends come to me with complex questions but lack the git basics to actually learn.
After discussing my git shortcuts and aliases elsewhere and over DMs it was suggested to me that I share it here.
I hope it helps even a couple of yโall looking to either refresh, jumpstart or get a good grasp of how common git concepts relate to one another !
It goes without saying, that any and all feedback is welcome and appreciated ๐
TL;DR: re-wrote a git tutorial that has helped friends and colleagues better grasp of git https://jdsalaro.com/blog/git-tutorial/
EDIT:
Iโve been a bit overwhelmed by the support and willingness to provide feedback, so Iโve enabled
hypothes.is
on https://jdsalaro.com for /u/NervousQuokka and anyone else wanting chime in. You can now highlight and comment snippets. โ ๏ธ Please join thefeedback@jdsalaro
group via this link https://hypothes.is/groups/BrRxenZW/feedback-jdsalaro so any highlights, comments, and notes are visible to me and stay nicely grouped. Usinghypothes.is
for this is an experiment for me, so letโs see how it goes :)
Hey there, author here in case you folks have questions ๐๐ผ
Git has a steep learning curve and everyone has a different way of learning things. So, kudos for taking the time for trying to clarify things.
Some unsolicited feedback: Most of the time, I see people struggling with git checkout
. And itโs not without a reason. checkout
has too much responsibility. Or, to put it in a more nuanced way, from the plumbing point of view it has a single responsibility, but from the userโs point of view it has many. So, I try to suggest using switch
and restore
instead of checkout
when appropriate. But old habits die hard, I still use checkout
for both of those things. I found a concise Stackoverflow answer. Maybe it would also clarify things for your audience?
from the plumbing point of view it has a single responsibility, but from the userโs point of view it has many
I wholeheartedly agree, Iโll add this edit to my backlog !
I see that your blog focuses on Git. Iโm not sure if you are aware, or not, but there is a Git community at https://programming.dev/c/git. Feel free to share links to your blogs.