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

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

© 2024 Falco Tech Blog Suffusion theme by Sayontan Sinha