The problem with git is hardly anyone reads the fucking manual. Git is not hard. The UI is inconsistent, but documented. When you just foist commands onto people, you can't be surprised when they fall off the happy path and don't have the mental model to understand how to fix it. There's no such thing as "idiot-proofing" for people who don't RTFM. --force-with-lease as a default is a really bad idea. Copying random a…
The problem is that the inconsistency means that you need to constantly refer back to the manual until you have a huge amount of arcana memorized.
Not only that, but it's not always easy to find what you're looking for in the manual.
Yes, programmers should all at some point read the first few chapters of Pro Git, and at least skim through the "internals" chapter.
But idiot-proofing goes beyond babying people who don't want to read docs. Even people who do read docs and care a lot about learning their tools make mistakes and forget things occasionally.
> --force-with-lease as a default is a really bad idea.
Agreed.
> Copying random aliases is a bad idea.
Agreed, but looking at other people's aliases to get ideas and borrow useful snippets is a great idea.