gptmeのスニペット

gptmeのスニペットを貼り付けておく.

PRの内容を要約

gh pr diff 335 | gptme 'summary this diff' -n -m local/deepseek-r1:latest

git diffの内容を要約

git diff master | gptme 'Analyze the git diff below and generate a commit message in English that accurately describes the changes. The commit message should be about 20 words long, and should be concise and clear. The line beginning with signle "+" means additional line. the line beginning with single "-" means deleted line.' -n -m local/deepseek-r1:latest

OpenCommitのほうが精度が高い.