This is a command line tool to show a graph of your commits as ascii art.
- Merge with rc
- Create a release
1 clone into ~/bin/
git clone https://github.com/michael-k/ascii-commit-graph.git ~/bin/ascii-commit-graph
2 add write permissions
chmod +x ~/bin/ascii-commit-graph/ascii-commit-graph.sh
3 create a symlink to /usr/local/bin/
sudo ln -s ~/bin/ascii-commit-graph/ascii-commit-graph.sh /usr/local/bin/ascii-commit-graph
ascii-commit-graph
ascii-commit-graph --this-year
[x] maybe make this a rule on the default behavior if tput cols is less than 52
ascii-commit-graph --full-width
zcd() {
if [ "$#" -eq 0 ]; then
z
else
z "$@"
fi
ascii-commit-graph --full-width --show-issues --show-todos
}
alias cd="zcd"
eval "$(zoxide init zsh)"
when you're not in a git repo you can see the commit history for all the repos you own.
ascii-commit-graph --author
ascii-commit-graph --show-issues
runs gh issue list
and shows the issues in the current directory.
ascii-commit-graph --show-todos
runs rg "(\[\s\]|TODO|BUG|FIXME|ISSUE|HACK|\[\-\])" -g '!*/lib/*' -g '!*/node_modules/*' -g '!*/vendor/*' -NU --color=always
and shows the todos found in the current directory's files.
Made with ❤️ by Michael Hurley D/B/A Hustle Launch