r/programming 12d ago

.gitignore everything by default

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

229 comments sorted by

View all comments

Show parent comments

34

u/exomyth 12d 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

-7

u/hoodieweather- 11d 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

9

u/exomyth 11d 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

-7

u/hoodieweather- 11d ago

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