I have a couple of Git repositories that belong together, and simple batch/Bash file to loop over them. I often loop over them with a log command to quickly see what state they are in. This works nicely, except for one thing: if the commit message is longer than the number of characters my console is wide (or has multiple lines), Git shows the line, then a newline with (END), and I have to press Q to continue (I guess it pipes the output through more or something like that).
Example:
> gitloop . "git log --decorate=short --pretty=oneline -n1"
18629ae238e9d5832cb3535ec88274173337a501 (HEAD, origin/master, master) short log
625fb891b9b0b8648459b07ace662ae3b7773c7f (HEAD, origin/master, origin/HEAD, master) short log
dc0838118266ba8570ea338c1faddfe8af0387bb (HEAD, origin/work, origin/master, work, master) oops loooooooooooooong log
-(END)
This is rather inconvenient as I have to press Q a couple of time, whereas I'd just like to see all those one-liner programs in one go.
How can I disable this behaviour (preferably while still keeping this log format)?
git log. For some reason the Page prevents this in iTerm. The answers here all worked. Great.