Hands-on task
Export an author's commits to a file
In /root/repo there are commits by several authors mixed together: alice, bob, carol.
Build a file /root/out.txt that lists, one per line, the subject lines of all commits whose author is alice (and only those; who made the commit itself doesn't matter), in order from newest to oldest (as git log outputs by default). No hashes, dates, or extra fields — only the subject lines.
- git log
- --author
- history filtering
- --pretty
- output format