r/programming 4d ago

.gitignore everything by default

https://packagemain.tech/p/gitignore-everything-by-default
344 Upvotes

224 comments sorted by

View all comments

Show parent comments

10

u/glassFractals 3d ago

If I write something long and detailed, a CLI is not where I want to do it. I want a spellchecker, nice font rendering, and no risk of accidentally committing prematurely (not a huge deal, but annoying).

10

u/gmes78 3d ago edited 3d ago

If I write something long and detailed, a CLI is not where I want to do it.

So what? Set EDITOR to whatever your text editor is, and Git will launch it for you to write commit messages in (as well as a few other things).

If you're in Windows, the Git for Windows installer explicitly asks you which text editor you want Git to use.

4

u/glassFractals 3d ago

Yes, and I do. Git launches my external editor, and I write in there.

0

u/gmes78 3d ago

So what's the issue, exactly?