diff --git a/Makefile b/Makefile index e923e6f..17a54dd 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ BINS = \ git-commits-since \ git-summary \ git-contrib \ + git-update-extras \ git-release install: diff --git a/Readme.md b/Readme.md index d4cb87c..c136a4b 100644 --- a/Readme.md +++ b/Readme.md @@ -19,6 +19,7 @@ - git release - git contrib - git repl + - git update-extras ## git-contrib @@ -198,3 +199,7 @@ Listing commits: * Passing args to git shortlog * Added --all support to git-count * Initial commit + +## git-update-extras + + Updates git extras. clones the repo to _/tmp/git-extras_, make installs, then cds back to the origin directory. \ No newline at end of file diff --git a/bin/git-update-extras b/bin/git-update-extras new file mode 100755 index 0000000..29a0a30 --- /dev/null +++ b/bin/git-update-extras @@ -0,0 +1,11 @@ +#!/bin/sh + +orig=$PWD +cd /tmp \ + && rm -fr ./git-extras \ + && git clone http://github.com/visionmedia/git-extras.git \ + && cd git-extras \ + && make install \ + && cd $orig \ + && echo "... update complete" + \ No newline at end of file