#!/bin/bash

git log -n5 --pretty=format:"%H"
echo "" 

#> bash git_commit.sh | cat -e
#       -e     equivalent to -vE
#       -E, --show-ends              display $ at end of each line
#       -v, --show-nonprinting
#              use ^ and M- notation, except for LFD and TAB

#git show HEAD
#git log -n 5 --oneline


#   Commit Formatting
#       --pretty[=<format>], --format=<format>
#           Pretty-print the contents of the commit logs in a given format,           where <format> can be one of oneline, short, medium, full, fuller,reference, email, raw, format:<string> and tformat:<string>. When  <format> is none of the above, and has %placeholder in it, it acts as if --pretty=tformat:<format> were given.
#           See the "PRETTY FORMATS" section for some additional details for
#           each format. When =<format> part is omitted, it defaults to medium.
#
#           Note: you can specify the default pretty format in the repository
#           configuration (see git-config(1)).

