Skip to content

Instantly share code, notes, and snippets.

@ipoerner
Last active December 16, 2015 16:59
Show Gist options
  • Save ipoerner/5466940 to your computer and use it in GitHub Desktop.
Save ipoerner/5466940 to your computer and use it in GitHub Desktop.
Git update script... somehow found its way to me.
#!/bin/sh
set -e
: ${PROJECTS:="/opt/git/other/"}
(cd "$PROJECTS/git-manpages/"
git fetch --tags
git pull origin master
)
(cd "$PROJECTS/git/"
git fetch --tags
git pull origin master
sudo make -j4 prefix=/usr/local/ install quick-install-man
cat RelNotes
)
git --version
@ipoerner
Copy link
Author

Retrieve git from git://git.kernel.org/pub/scm/git/git.git
Retrieve manpages from https://code.google.com/p/git-manpages/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment