3 ms·
About 8 years ago, I blogged a very brief guide to using git for a solo developer. A lot of people seemed to like it. A couple times since then, I've noticed t
by garyrob 4y ago
About 8 years ago, I blogged a very brief guide to using git for a solo developer. A lot of people seemed to like it.
A couple times since then, I've noticed there was something I was using that wasn't in it, but that could be added without making it significantly longer or more complicated. So there were a couple of updates.
I did another one today, and had the thought that since this guide now includes the benefit of 8 years of practical experience in actually using it, while still essentially being "Git In Two Minutes", it might be worth posting to HN. So here it is.
It doesn't say anything about github. It really is for a solo developer who wants to start using git in a very painless way. With the additional goal that you can profitably use git for years without going beyond the described features.
https://www.garyrobinson.net/2014/10/git-in-two-minutes-for-a-solo-developer.html https://www.garyrobinson.net/2014/10/git-in-two-minutes-for-...
- Izkata 4y agoA couple notes: * Since it's an introduction maybe consider "--oneline" instead of "--pretty=oneline" for memorability * Undoing a bad commit - since it mentions a commit message typo, maybe instead redo it with "git commit --amend"
- boredemployee 4y agothank you very much. I'm always reluctant to read/watch any git tutorial, I think that will help me a lot!
- garyrob 4y agoI hope it does!
- notRobot 4y agoThank you for this!
- moritonal 4y agoHey, just a heads up (won't be a problem for most people Goolging git) but on mobile (Firefox) the code blocks are almost unreadable because they're so small.
- noja 4y agoWithout switch and restore, it is not modern git!