4 ms·
Yeah the initial intro to git takes about 10 minutes. Git add ., git commit, git push. Done. You learn new features as they become required. There is no need to
by Gigachad 4y ago
Yeah the initial intro to git takes about 10 minutes. Git add ., git commit, git push. Done. You learn new features as they become required. There is no need to read the entire manual and understand how git bisect works when you are working on your personal blog.
- MatthiasPortzel 4y agoI was thinking about this the other day. The learning curve for git isn’t steep at all, because it’s possible to learn git so slowly. It’s possible to use git with any level of proficiency. If you had to sit down and “learn git” before you could use it, that would be brutal and we would be using something else.
- nmz 4y agoLove it when people don't talk about rebase. considering its both dangerous, and a requirement to use for many teams.
- vr46 4y agoRebase is the opposite of dangerous, it brings everything back to a specific state and forces the dev to fix conflicts themselves rather than make it someone else’s problem. What’s dangerous is using things one doesn’t understand and not asking how to use it or reading up on it.
- SoftTalker 4y agoYeah that's one of the ones I don't touch.
- inferiorhuman 4y agoIt's a lot less dangerous than you'd think since you can salvage a lot of mistakes by digging into the reflog.
- dahart 4y agoRebase isn’t dangerous in safety terms, the main danger is it can cause frustration when people use it without understanding it first. And as long as people know to not rebase public history, the frustration is usually limited and contained and easily resolved. It might be dangerous if frustration leads to spastic repo nuking, which can happen. Btw A lot of people who say rebase is dangerous use git stash and have no idea that stash is one of the actual dangerous things to do, much more dangerous than rebase, and not any easier than branching. “If you mistakenly drop or clear stash entries, they cannot be recovered through the normal safety mechanisms.” https://git-scm.com/docs/git-stash https://git-scm.com/docs/git-stash