cd
mkdir local/git
wget <a href="http://kernel.org/pub/software/scm/git/git-1.7.0.tar.gz" target="_blank">http://kernel.org/pub/software/scm/git/git-1.7.0.tar.gz</a>

ソースを $HOME/local/src/git-* に展開

cd $HOME/local/src/git-*
./configure --prefix=$HOME/local/git --with-python=/usr/local/bin/python
gmake
gmake install

cd $HOME

mkdir -m git/mygit.git
cd git/mygit.git
git --bare init --share


cd $HOME/temp
mkdir gitTest
cd gitTest
touch README
git add README
git commit -m "FIRST COMMIT"
git push ssh://user@user.sakura.ne.jp/home/falco/git/mygit.git master
© 2024 Falco Tech Blog Suffusion theme by Sayontan Sinha