-1
我想找一個作者在一個項目中貢獻的git行的總數(也叫做穩定)。用git找東西
我想找一個作者在一個項目中貢獻的git行的總數(也叫做穩定)。用git找東西
如果我理解正確,你正在尋找
def lines_of_code_changed(start_date, end_date)
PullRequest.where(
author_op_id: operator_id,
modified_at: start_date..end_date.end_of_day,
open_ind: false,
merged_ind: true).sum(:lines_changed)
end