I'm a Python, Linux, Nix/NixOS, JavaScript, Rust, ... basically everything open-source enthusiast.
Git work log

My git work log command.

Copy those two lines to new file named ‘gitworklog’, then save it in some …/bin/ folder (i.e. /usr/bin/) and make it executable.

#!/bin/bash

find $(pwd) -type d -name ".git" -exec sh -c "cd \"{}/..\" ; echo -e \"\n{}\" ; git --no-pager log --since='$1' --branches --remotes --tags --pretty=format:' %Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(green)<%an>%Creset' --committer='$2'" \;

Usage:

gitworklog <since> <commiter>

Examples:

$ gitworklog '2 days ago' 'Your Name'

$ gitworklog 'yesterday' 'Your Name'

$ gitworklog 'last friday' 'Your Name'