Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.38 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.38 KB

git-amnesia

Gem license

Did you ever come back from your weekend, or worse holiday, looking at your repositories like:

Worry no more! Pass out on the weekends and let git-amnesia remember what you committed.

Usage

Set your workspace (or whatever you call the folder you put your repos) with

$ git config dir.workspace /path/to/my/workspace

and add any additional repositories you keep scattered around your file system

$ git config dir.others $HOME/.dotfiles:/some/other/repo

Now, typing git amnesia will present you with a nicely formatted and colored* history of your commits. example output

* you may still need to install a half decent colorscheme.

Config

  • dir.workspace: This will track changes in all direct subdirectories of specified directory.
  • dir.others: Additional folders to track.
  • amnesia.count: Limit for commit messages to print. Default is 20.

Requirements

  • git (you probably have this if you're here)
  • ruby >= 1.9.3

Installation

$ gem install git-amnesia