Latest commit hash of subdirectory
I need to check latest changes in a subdirectory of a git repo. I would like to get the latest commit info in one line (sha, author, message, and may be date). Is it possible?
One Solution collect form web for “Latest commit hash of subdirectory”
git log -n 1 --format="%h %aN %s %ad" -- $directory