Skip to content

Instantly share code, notes, and snippets.

@ipoerner
Last active December 25, 2015 14:19
Show Gist options
  • Save ipoerner/6990535 to your computer and use it in GitHub Desktop.
Save ipoerner/6990535 to your computer and use it in GitHub Desktop.
Tig update script... somewhat similar to the Git update script.
#!/bin/sh
set -e
: ${PROJECTS:="/opt/git/other"}
(cd "$PROJECTS/tig/"
git fetch --tags
git pull origin master
cp contrib/config.make .
sudo make -j4 prefix=/usr/local/ install install-doc-man
)
tig --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment