gitのインストール(編集中)

○インストール
tck/tkが必要なので、synapticでtklibをインストールしておく

ダウンロードサイト
http://www.kernel.org/pub/software/scm/git/

・ビルド・インストール

./configure --prefix=/usr/local/git/1.6.1.rc3
make
sudo make install

シェルにパスを追加

export MANPATH=$MANPATH:/usr/local/git/1.6.1.rc3/share/man
export PATH=$PATH:/usr/local/git/1.6.1.rc3/bin


○操作(編集中)
509 ls -la
510 git init
511 . ~/.bashrc
512 git init
513 ls -la
514 git add .
515 git commit
516 echo hogehoge > hoge/fuga.txt
517 ls -la hoge
518 ls -la
519 ls -l .git
520 git diff
521 touch hoge/cccc.txt
522 git diff
523 ls -la hoge
524 touch hoge/gggg.txt
525 ls -la hoge
526 git diff
527 git add
528 git add .
529 git diff --cached
530 git add hoge/cccc.txt
531 git diff --cached
532 git log
533 git log -p
534 git log --stat --summary
535 git commit -a
536 git log --stat --summary
537 ls -la hoge
538 rm hoge/cccc.txt
539 git add .
540 git diff
541 git clone /home/sandbox/clone_git_test git_test
542 git clone /home/merowlink/sandbox/clone_git_test git_test
543 git clone ~/sandbox/git_test /home/merowlink/sandbox/clone_git_test
544 git commit
545 git log -p