A simple CLI tool to show you easy to read git commits history so you can tell your manager you are not slacking. Or you are just to lazy to memorize git flags.
go install github.com/ktkennychow/whatdidido@latestOr build from source:
go build -o whatdididowhatdidido check [--author=<name>] [--since=<time>]
whatdidido config [--author=<name>] [--since=<time>]--author, -aGit author name (e.g., "johndoe")--since, -sTime specification (e.g., "1 day ago", "midnight")
Use the check command with optional flags to view commits.
Examples:
whatdidido check
whatdidido check --author johndoe
whatdidido check -a johndoe --since "1 day ago"
whatdidido check --since "1 day ago"
whatdidido check -s "1 day ago"Persistent configuration is stored in ~/.config/whatdidido/config.json.
Use the config command with flags to set or view configuration.
Examples:
whatdidido config # Show current config
whatdidido config --author johndoe # Set author
whatdidido config --since "1 day ago" # Set sinceThis runs: git log --since=<since> --author=<author> --no-merges --pretty=format:"%s"