Skip to content

Instantly share code, notes, and snippets.

@zaininnari
Created July 2, 2011 09:05
Show Gist options
  • Save zaininnari/1059877 to your computer and use it in GitHub Desktop.
Save zaininnari/1059877 to your computer and use it in GitHub Desktop.
さくらインターネット スタンダードプラン git インストール
#! /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」を実行し、パスが通っていることを確認して下さい。"
@zaininnari
Copy link
Author

git --bare init --share

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