mirror of
https://github.com/tj/git-extras.git
synced 2026-09-12 16:36:22 -04:00
install the latest release version of git-extras
Accoring to the talk in https://github.com/tj/git-extras/issues/371
This commit is contained in:
parent
9b45e6b831
commit
b1784fd378
|
|
@ -14,11 +14,15 @@ $ brew install git-extras
|
|||
## Clone / Tarball:
|
||||
|
||||
```bash
|
||||
$ make install
|
||||
$ 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
|
||||
$ (cd /tmp && git clone --depth 1 https://github.com/tj/git-extras.git && cd git-extras && sudo make install)
|
||||
```
|
||||
$ (cd /tmp && git clone https://github.com/tj/git-extras.git && cd git-extras && git checkout $(git describe --tags $(git rev-list --tags --max-count=1)) && sudo make install)
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue