Grit の調査のつづき。 フィルをコミットする方法とか調べた。 まず、リポジトリを指定して Repo を new > require 'grit' > include Grit > repo = Repo.new('.') test というファイルを作成して、 > system 'touch test' => true インデックスに add > repo.add('test') => "" そしてそれを commit > repo.commit_index('add test') => "[maste... > このページを見る
最終更新時間:
2009年10月02日21時41分
みんなのブックマーク 人気(0) 新着
- 調べ方が甘かったのでIndexの存在に気づいていませんでした>< jugyo++









