Git
How to build
OpenSSL
gitlibpfx=/dev/shm/libs
wget 'http://www.openssl.org/source/openssl-1.0.0f.tar.gz' tar -xzf openssl-1.0.0f.tar.gz cd openssl-1.0.0f ./config --prefix=$gitlibpfx shared threads zlib-dynamic echo openssl; i=01; make &> make$i.log & tailf make$i.log make install
Never use the "-jN" flag in make(1) invocation! It will corrupt the output binary.
Change $gitlibpfx according to your needs.
libcurl
wget 'http://curl.haxx.se/download/curl-7.23.1.tar.bz2' tar -xjf curl-7.23.1.tar.bz2 ./configure --prefix=$gitlibpfx --with-ssl=$gitlibpfx echo libcurl; i=01; make -j48 &> make$i.log & tailf make$i.log make install
Git itself
gitpfx=/dev/shm/git export PATH=$PATH:$gitlibpfx/bin # for curl-config
wget 'http://git-core.googlecode.com/files/git-1.7.8.3.tar.gz'
cd git-1.7.8.3
make configure && ./configure --prefix=$gitpfx --with-{openssl,curl}=$gitlibpfx
echo git; i=01; make -j8 all &> make$i.log & tailf make$i.log
make install
export PATH=$PATH:$gitpfx/bin which git
Git-svn ?? TODO
git clone --resume
- 項目として挙がってるが実装された気配は無い https://git.wiki.kernel.org/index.php/SoC2009Ideas#Restartable_Clone
- 消えてる... https://git.wiki.kernel.org/index.php/SoC2010Ideas
リンク集
- http://code.google.com/p/git-core/downloads/list
- cd $gitpfx/share/man && wget http://git-core.googlecode.com/files/git-manpages-1.7.8.3.tar.gz -O - | tar -xj
- 代わり http://fla.skr.jp/
Tips
- http://d.hatena.ne.jp/n7shi/20100204/1265382280
- git rebase -i HEAD~10
- git push origin +master
Keyword(s):
References:[PyPy]