-m "initial commit" works with cmd.exe powershell, git bash and linux which is why I suggested it. As I do not have access to a mac I am unable to say if it will work on a mac or not. Considering the origins of darwin I believe it will work on mac as well.
On Sat, Jul 15, 2023 at 12:13 AM Tassilo Horn <t...@gnu.org> wrote: > Chris Stone <chrisjston...@gmail.com> writes: > > Hi Chris, > > > I have always used double quotes for commit msgs. git commit -m > > "message here" I also believe that is the expected format when using > > -m > > That's not git's responsibility. -m wants gets a single argument but > what that is depends on how your shell interprets what you've typed in > on the command line. That said, -m "initial commit" might be the right > string quoting for cmd.exe. With typical unix/posix shells, usually any > of > > -m "initial commit" > -m 'initial commit' > -m initial\ commit > > will ensure that "initial commit" is interpreted as a single argument > instead of two. > > Bye, > Tassilo > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to git-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/git-users/878rbhpurv.fsf%40gnu.org. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/CAEHZf3Zozg3UHz-Lw6fwNvMXUuunpX8GgrvSWp4X_tdt8RTEfQ%40mail.gmail.com.