Skip to content

Why wouldn't you want an ACSII art Nyan Cat following your `git log --graph`?

Notifications You must be signed in to change notification settings

steckel/Git-Nyan-Graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

#Installation

  • Pull down the repo to your favorite temporary location

$ cd Desktop

$ git clone [email protected]:steckel/Git-Nyan-Graph.git

  • Change directories so that you're within the repo

$ cd Git-Nyan-Graph/

  • Customize nyan.sh to your "git log --graph" liking (I prefer '--pretty=oneline')

  • Make sure nyan.sh is executable

$ chmod +x nyan.sh

  • If you're on Mac OS X, you'll want to copy the shell script to your /usr/bin/local/ folder (if you're not on Mac OS X, feel free to let me know where your executable scripts go and I'll note it here).

  • At this point you may also rename the shell script to the command you wish to use to trigger it. I like using 'git nyan' so I rename the file git-nyan without the .sh extensions (thanks @larzconwell for that tip).

$ sudo cp nyan.sh /usr/bin/git-nyan

#Usage

  • Open a new terminal window, navigate to a repo with plenty branches and merges and trigger the sucker.

$ git nyan

  • Or try using the '-alt' flag for the alternate Nyan Cat (at @mayognaise's request)

$ git nyan -alt

Example

About

Why wouldn't you want an ACSII art Nyan Cat following your `git log --graph`?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages