A quick git repository insight at terminal
Based on git-extras
, git-recent
, and git-stats
, git overview
presents all git
stats summary you need at terminal, helping you quickly orient with the repository.
It shows you all the info at one glance:
-
Calendar (
git stats
) -
Repo summary (
git summary
) -
Branch info (
git info
) -
Branch tip (
git-recent
) -
Branch tree (
git show-tree
) -
Effort analysis (
git effort
)
Clone the repo, and run npm run transfer
to transfer ./git-overview
to ~/bin
, or manually invoke ./script/transfer.sh
if you are not familiar with npm
.
If you have a more desired PATH
for storing scripts, configure ./script/transfer.sh
directly or ignore transfer instructions.
Make sure git-extras
, git-recent
, and git-stats
are installed globally. You don't have to install them all, since git overview
is smart enough to forgo the uninstalled commands. But many git overview
's features rely on the statistics these three provide.
$ git overview
git overview
is adaptable to large repos. While features like git summary
shows more contributors' info in large repos, features like git effort
that traverse the whole .git/
are turned off to avoid long hanging.
2018-Nov-8: v1
published.
2018-Nov-9: Use commitizen
to standardize commit process.
2018-Nov-11: Use ghooks
to automate file transfer to ~/bin
.
2018-Nov-14: Add git-recent
.
See Dotfiles for my other works on git
.
See git-stack - Compare against master branch with fzf.
See git-commands - Fuzzy search git commands with help.