From: Konstantin Ryabitsev Date: Fri, 30 Jun 2023 14:17:24 GMT Subject: Re: "git commit -m" bug Message-ID: <20230630-staid-welcome-howl-da79f0@meerkat> In-Reply-To: <5C7CF0D9-4C6F-4207-BA4B-8AC9B472BD75@apple.com> On Fri, Jun 30, 2023 at 02:30:55PM +0100, 'Ruben Ticehurst-James' via Git Security wrote: > Hello I am reporting a (potential) bug in git: > > when I use triple exclamation marks in a commit message (for an example): > > git commit -m “WORKING!!! WOOOO” (command above was git add .) > > or > > git commit -m "Checking !!! Git” (command above was ls) > > It will instead copy over the last command I used. The two above commands produce this output: This is done by your shell (bash). For example, try this: echo "hello" echo "hello!!" -K