mirror of
https://github.com/tj/git-extras.git
synced 2026-09-15 09:56:19 -04:00
29 lines
441 B
Markdown
29 lines
441 B
Markdown
## Debian
|
|
|
|
```bash
|
|
$ sudo $apt_pref update
|
|
$ sudo $apt_pref install git-extras
|
|
```
|
|
|
|
## Mac
|
|
|
|
```bash
|
|
$ brew install git-extras
|
|
```
|
|
|
|
## Clone / Tarball:
|
|
|
|
```bash
|
|
$ 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:
|
|
|
|
```bash
|
|
curl -sSL http://git.io/git-extras-setup | sudo bash /dev/stdin
|
|
```
|