tj.git-extras/Installation.md
2015-06-08 00:09:40 +08:00

476 B

Debian

$ sudo $apt_pref update
$ sudo $apt_pref install git-extras

Mac

$ brew install git-extras

Clone / Tarball:

$ git clone https://github.com/tj/git-extras.git
$ cd git-extras
# checkout the latest tag
$ git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
$ [sudo] make install

One-liner:

curl -s https://raw.githubusercontent.com/tj/git-extras/master/install.sh | [sudo] bash /dev/stdin