fabiojose
3/27/2018 - 8:06 PM

git special commands

git special commands

# Shows the last commit stats
git show -1 --stat
#OR
git log -1 --stat

# Shows all commit stats
git log -1 --stat

# Shows for the last commmit just the stats per file
git log -1 --numstat --format='%H'

# 10ef79ff1720aa5179373871ee58b08674e5c420

# 10      7       rundeck/template/extrator.sh
# 14      7       rundeck/template/loader.sh
# 6       0       stop.sh
# 8       1       up.sh

# ----------------------------------------------------- #