An minimal git wrapper to capture local git usage
This project comes from the idea to write and help other with some git/github knowledgement. For that my thought was, if I knew the most commom errors on git usage, I would be able to help.
The scripts above don't capture anything more that how you use git. It will not capture passwords and stuff. Unless you for some reason write it as a git commit message. Hope not!
First copy the git-logger file to your home and rename it.
~/[path_to_project]$ cp ./git-logger ~/.git-loggerThis will keep the git-logger file out of your way.
Second, guarantee that has execution permissions.
~$ chmod +x ./.git-loggerFinally, in your terminal emulator config file (bashrc, zshrc, fishrc) create an alias overriding git:
alias git='~/.git-logger'In order to test the autocomplete (currently only for zsh):
~/git-logger$ source ./git-logger.plugin.zsh
~/git-logger$ rm -f ~/.zcompdump; compinitSend usage to git-logger-apiCreate how-to install- Create how to install autocomplete
- 0.0.1
- Work in progress
Alex Rocha - about.me