3 ms·
> It turns out however that Git is really easy to grasp. Please write something to explain it. I must be pretty dumb, because I don't get it, even after readin
by StavrosK 13y ago
> It turns out however that Git is really easy to grasp.
Please write something to explain it. I must be pretty dumb, because I don't get it, even after reading about ten explanatory texts.
- Crito 13y agoSince you have already read ten things about it and don't understand it, it would help if you told us what you do not understand so that we do not waste our time rehashing things that you have already not understood.
- StavrosK 13y agoThat's a very good question. I hadn't really tried to pinpoint what exactly I don't understand about it until now, but here's what some thinking uncovered: Branching/merging/committing is pretty straightforward. The problem is that some commands seem to be very convoluted. For example, why does reset do four different things depending on whether it's soft or hard or plain? I keep having to Google to find how I can revert my latest commit. Another thing I have trouble with is obscure failures. Obviously this isn't something I can just learn, but there are times when git fails for a reason I don't understand...
- Crito 13y agoAh yeah. The "why" with a lot of the porcelain stuff probably tends to be an unsatisfying "Because somebody didn't think it through very much a few years ago." git-reset would probably be better if it defaulted to --soft, and possibly left the other options to other commands.
- reinhardt 13y agoSame here, whenever I attempt to give it another chance, sooner or later I break down and revert to hg-git. I recently discovered EasyGit [1] and it seems promising from the docs. There's also gitless [2] that was covered in HN a few days ago. [1] https://people.gnome.org/~newren/eg/ https://people.gnome.org/~newren/eg/ [2] http://people.csail.mit.edu/sperezde/gitless/ http://people.csail.mit.edu/sperezde/gitless/
- chx 13y agoHere http://www.sbf5.com/~cduan/technical/git/ http://www.sbf5.com/~cduan/technical/git/ this is the only way to understand git.
- StavrosK 13y agoThat's a great explanation, thank you!