by g4zj · 2y ago · 0 comments
People are told this because it's generally true. Of course, it's not the case for everyone, but I find that most criticisms of the tool focus heavily on remembering how to use it.
(The author does mention some missing features, which is valid, but git can't be everything for everyone. In those cases, perhaps it's not the appropriate tool.)
> I need to always deeply understand the difference between reset, revert, [...]
> You need to remember that push and pull [...]
> When it comes to merging, you need to think through the logic [...]
Yes, you need to understand, remember, and think. Git (and other similar tools) solve a complex problem and doing so in a simple way would likely restrict teams into a small set of possible workflows.
I find that using git is quite simple once the project team has established the processes where the tool is used, and understands git's role in those processes. In my experience, most day-to-day tasks involve using the same small handful of git subcommands, and issues that arise are quite easily fixable.
Another way to look at this is that Git is a bad UX for what the correct and convenient tool for development is.
Is like when people wanna do JOINs but what you have is documents and map-reduce. Sure, you can bend towards it, but then the tool is ill-suited.
"So pick a better tool"
We do (mercurial). Sadly `git` won.
or because tool is unnecessary complicated?
Like anything used by a lot of people to solve real problems, it has warts and duct tape, but, honestly, git feels like the least troublesome part of my daily workflow.
The problem with Git is the same kind of problem Excel has: everyone can (correctly) claim to only use 20% of its features, thus everyone can say "Git is too complex!". But the problem is that everyone uses a different 20% of Git; Git is the union of the solutions to lots of different problems.