Created
July 2, 2011 09:05
-
-
Save zaininnari/1059877 to your computer and use it in GitHub Desktop.
さくらインターネット スタンダードプラン git インストール
This file contains 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/csh | |
#create git install directory($HOME/usr/local) | |
cd ~ | |
mkdir $HOME/usr | |
mkdir $HOME/usr/local | |
#create git source directory | |
cd ~ | |
mkdir $HOME/local | |
mkdir $HOME/local/src | |
mkdir $HOME/local/src/git | |
cd $HOME/local/src/git | |
wget http://kernel.org/pub/software/scm/git/git-1.7.6.tar.bz2 | |
tar xzf git-1.7.6.tar.bz2 | |
cd git-1.7.6 | |
./configure --prefix=$HOME/usr/local | |
gmake prefix=$HOME/usr/local | |
gmake prefix=$HOME/usr/local install | |
echo "「vi .cshrc」を実行し、set path に空白に気をつけながら以下を追加し、パスを通して下さい。" | |
echo "$HOME/usr/local/bin" | |
echo "パスを通すと、「git version」を実行し、パスが通っていることを確認して下さい。" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git --bare init --share