mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 23:46:24 -04:00
638 B
638 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:
$ (cd /tmp && rm -rf git-extras && echo "Setting up 'git-extras'...." && git clone https://github.com/tj/git-extras.git &> /dev/null && cd git-extras && git checkout $(git describe --tags $(git rev-list --tags --max-count=1)) &> /dev/null && sudo make install)