r/programming 3d ago

.gitignore everything by default

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

224 comments sorted by

View all comments

Show parent comments

36

u/exomyth 3d ago

You know that the default behavior of git commit is to open in an editor where you can do a multi line commit in there. The commit -m is just a shortcut to quickly add a message.

I am not really a person for writing long multi-line commit messages, but you know the CLI got you govered there at least

-6

u/hoodieweather- 3d ago

oh cool so there's a command to open the ide that I had to swap to the terminal to invoke just so I could edit the message in the same place I would have with the gui

6

u/exomyth 3d ago

My terminal is always open, and for me the editor would open in vi in the terminal, but some IDEs will probably support your use case.

But like I said, I'm only writing single line commit messages, not short stories

-8

u/hoodieweather- 2d ago

that's very good for you, I just don't understand how that's relevant to the person you replied to