Last active
December 16, 2015 16:59
-
-
Save ipoerner/5466940 to your computer and use it in GitHub Desktop.
Git update script... somehow found its way to me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Retrieve git from git://git.kernel.org/pub/scm/git/git.git
Retrieve manpages from https://code.google.com/p/git-manpages/