Git Commit & Push
未コミットの変更をコミットし、リモートにプッシュする。
手順
git status --porcelainとgit diff --statで状況把握- 関連する変更をグループ化し、適切な粒度でコミット
git pushでリモートに反映(必須)
コミットメッセージ
- 日本語で記述
- 最初の行は50文字以内
- 動詞で開始(追加、修正、更新など)
注意
- 機密情報や一時ファイルが含まれていないか確認
- 複数の独立した変更は複数のコミットに分割
Analyze uncommitted changes and create and push commits at an appropriate granularity. If there are multiple independent changes, split them logically and ensure that each commit works independently. Write commit messages in Japanese, conveying 'why' it was done rather than 'what' was done.
未コミットの変更をコミットし、リモートにプッシュする。
git status --porcelain と git diff --stat で状況把握git push でリモートに反映(必須)