How to get Git log with short stat in one line?
git log –oneline –pretty=”@%h” –stat |grep -v \| | tr “\n” ” ” | tr “@” “\n” This will show something like this: a596f1e 1 file changed, 6 insertions(+), 3 deletions(-) 4a9a4a1 1 file changed, 6 deletions(-) b8325fd 1 file changed, 65 insertions(+), 4 deletions(-) 968ef81 1 file changed, 4 insertions(+), 5 deletions(-)