Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
git リポジトリのサブディレクトリで最新の変更を確認する必要があります。最新のコミット情報を 1 行 (sha、author、message、および may be date) で取得したいと考えています。出来ますか?
git log -n 1 --format="%h %aN %s %ad" -- $directory