4 ms·
Put a '-f' in your shell script, to force the overwrite
by mhansen 17y ago
Put a '-f' in your shell script, to force the overwrite
- steveklabnik 17y agoWhy don't you put a '--double-check-my-command' on yours?
- mey 17y agoThere is such a thing are reasonable defaults. This is an issue of command lines as interfaces and as tool integration points. You have reasonable defaults for both audiences. (My preference is the err on the side of the human interaction because CPU's are cheap)
- jwhite 17y agoGit is unashamedly a power tool, for power users. Git checkout seems so natural to me in the way it functions, and I use it so often, that it would annoy the hell out of me if I had to force it or answer a y/n prompt every time I used it. What you think of as intuitive is not universal. Your reasonable defaults are unreasonable to me. This seems to be a problem of audience. Git can be challenging to learn, but it's not aimed at learners. It's aimed at power users. As others have pointed out, there are other front-ends to git. You don't have to use the default porcelain.
- mey 17y agoFair enough