More Related Content
PDF
PDF
PPTX
PPT
PDF
カウチなやつら CouchDB in the room PPTX
PDF
PDF
What's hot
PPTX
2012 0623-x-road-tokyo-xoops-x(ten) PPTX
PDF
PDF
PDF
PPTX
PDF
Grunt.jsを使った Expressの開発環境構築 PPTX
PDF
大容量ファイルもGitで管理。 Git LFSの使い方 PDF
PDF
PDF
PPTX
PDF
PPTX
Introducing PostgreSQL on Kubernetes PDF
ODP
Programming under capability mode PDF
コード読経会
- 1.
- 2.
- 4.
- 5.
- 6.
各プログラム解説
• init-db: DBの初期化(git init)
• update-cache : トレースファイルの追加(git add)
• write-tree : treeの作成(git commit)
• commit-tree : データベースへ登録(git push)
• cat-file : ファイル名の表示
• read-tree : tree内容の表示
• show-diff : 最新コミットとの差異(git diff)
- 7.
まずは動かす
• %./init-db
• % ./update-cache README
• % ./write-tree
• % ./commit-tree
• READMEを編集
• % ./show_diff
• % ./update-cache README
• % ./write-tree
• % ./commit-tree
• % ./show_diff
- 8.
- 9.
資料:コンパイル関連
• gitclone https://github.com/git/git
• git checkout e83c5163
• zlibとcryptoをリンク(LIBS += -lz lcrypto)
• st_mtimでエラー→st_mtimespec
• st_ctimでエラー→st_ctimespec