Skip to content

alexrochas/git-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git Logger

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!

Install

First copy the git-logger file to your home and rename it.

~/[path_to_project]$ cp ./git-logger ~/.git-logger

This will keep the git-logger file out of your way.

Second, guarantee that has execution permissions.

~$ chmod +x ./.git-logger

Finally, in your terminal emulator config file (bashrc, zshrc, fishrc) create an alias overriding git:

alias git='~/.git-logger'

Development

In order to test the autocomplete (currently only for zsh):

 ~/git-logger$ source ./git-logger.plugin.zsh
 ~/git-logger$ rm -f ~/.zcompdump; compinit

Roadmap

  • Send usage to git-logger-api
  • Create how-to install
  • Create how to install autocomplete

Release History

  • 0.0.1
    • Work in progress

Meta

Alex Rocha - about.me

About

An minimal git wrapper to capture local git usage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages