whadido
v0.1.2
Published
Recover and show recent operations in a local git repository. "what did i do".
Downloads
9
Readme
whadido
whadido is a command line tool to recover and show recent operations in a local git repository.
Useful when you wonder "what did i do" in a shiny Monday morning.
Screenshot

Requirements
- Linux or Mac (may work in other unices too. not in Windows or WSL)
gitbinary in$PATHnode.jsv8.0 or newer (GYP is not required)
Install
$ npm install -g whadido
# OR
$ yarn global add whadidoUsage
Running whadido with no parameters in a repository prints recent 20 recovered operations:
$ whadidoList of all parameters:
$ whadido --help
usage: whadido [-h] [-v] [-r REPO_PATH] [-n NUM_OF_OPERATIONS] [--verbose]
[--dump]
Analyze and show history of local git repo.
Optional arguments:
-h, --help Show this help message and exit.
-v, --version Show program's version number and exit.
-r REPO_PATH, --repo REPO_PATH
Path in git repository or its worktree.
Defaults to $PWD
-n NUM_OF_OPERATIONS, --num NUM_OF_OPERATIONS
The number of (recent) git operations to display.
Defaults to 20
--verbose Enable verbose log. Most for development use.
--dump Dump refs and reflogs to a timestamp-named JSON file
in PWD. Most for development use.How does it work?
whadido recovers local operation history from often-mysterious reflogs (git reflog).
Development
Feel free to file an issue :)
See docs/files.md for code structure, and docs/parser.md for analyze heuristics.
License
MIT
