Pro Git 2nd Edition 2.1.413blob_id) ② sig = { :email => "bob@example.com", :name => "Bob User", :time => Time.now, } commit_id = Rugged::Commit.create(repo, :tree => index.write_tree(repo), ③ :author => sig, :committer :committer => sig, ④ :message => "Add newfile.txt", ⑤ :parents => repo.empty? ? [] : [ repo.head.target ].compact, ⑥ :update_ref => 'HEAD', ⑦ ) commit = repo.lookup(commit_id) ⑧ Create a new0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413blob_id) ② sig = { :email => "bob@example.com", :name => "Bob User", :time => Time.now, } commit_id = Rugged::Commit.create(repo, :tree => index.write_tree(repo), ③ :author => sig, :committer :committer => sig, ④ :message => "Add newfile.txt", ⑤ :parents => repo.empty? ? [] : [ repo.head.target ].compact, ⑥ :update_ref => 'HEAD', ⑦ ) commit = repo.lookup(commit_id) ⑧ ① Create a0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 blob_id) ② sig = { :email => "bob@example.com", :name => "Bob User", :time => Time.now, } commit_id = Rugged::Commit.create(repo, :tree => index.write_tree(repo), ③ :author => sig, :committer :committer => sig, ④ :message => "Add newfile.txt", ⑤ :parents => repo.empty? ? [] : [ repo.head.target ].compact, ⑥ :update_ref => 'HEAD', ⑦ ) commit = repo.lookup(commit_id) ⑧ Create a new0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66blob_id) ② sig = { :email => "bob@example.com", :name => "Bob User", :time => Time.now, } commit_id = Rugged::Commit.create(repo, :tree => index.write_tree(repo), ③ :author => sig, :committer :committer => sig, ④ :message => "Add newfile.txt", ⑤ :parents => repo.empty? ? [] : [ repo.head.target ].compact, ⑥ :update_ref => 'HEAD', ⑦ ) commit = repo.lookup(commit_id) ⑧ ① 创建一个新的 blob0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66blob_id) ② sig = { :email => "bob@example.com", :name => "Bob User", :time => Time.now, } commit_id = Rugged::Commit.create(repo, :tree => index.write_tree(repo), ③ :author => sig, :committer :committer => sig, ④ :message => "Add newfile.txt", ⑤ :parents => repo.empty? ? [] : [ repo.head.target ].compact, ⑥ :update_ref => 'HEAD', ⑦ ) commit = repo.lookup(commit_id) ⑧ 创建一个新的 blob0 码力 | 670 页 | 13.59 MB | 1 年前3
共 5 条
- 1













