My files have
.settings { } .field { margin-bottom: 1em; }
I want to know when
.settings { }
.
I know if I want to search for a single line of code , I do git log -S".settings {" .
But here I want to search
.settings { }
overall i tried
git log -S".settings {\r}" confirm.less.css git log -S".settings {\n}" confirm.less.css git log -S".settings {\r\n}" confirm.less.css
but it doesnβt extract anything.
How do I search for a block of code as a whole that contains new string characters?
source share