Find the last commit for any file in Git November 28, 2019 delboy1978ukcommit, file, find, git, lastLeave a comment git log -n 1 --pretty=format:%H -- my/file.php