mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 23:46:24 -04:00
Added git-update-extras
This commit is contained in:
parent
b60ca7c604
commit
d91aab34e5
1
Makefile
1
Makefile
|
|
@ -11,6 +11,7 @@ BINS = \
|
|||
git-commits-since \
|
||||
git-summary \
|
||||
git-contrib \
|
||||
git-update-extras \
|
||||
git-release
|
||||
|
||||
install:
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
11
bin/git-update-extras
Executable file
11
bin/git-update-extras
Executable file
|
|
@ -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"
|
||||
|
||||
Loading…
Reference in a new issue