Skip to content

Instantly share code, notes, and snippets.

@CatBloom
Last active June 5, 2022 16:25
Show Gist options
  • Save CatBloom/d15b7e26705dd801787a69996d72669f to your computer and use it in GitHub Desktop.
Save CatBloom/d15b7e26705dd801787a69996d72669f to your computer and use it in GitHub Desktop.

GitRules

作成日 2022/05/13
更新日 2022/06/06

  1. Commit
  2. Branch
  3. Issue
  4. PullRequest

Commit

HEADDER + : + 説明 + チケット番号 例: Add:○○の機能を追加 #1

HEADDER DETAIL
Add 新規作成や機能の追加
Change 機能の変更もしくはコメントやstyleの調整/削除
Fix バグ、誤字の修正
Delete ファイル削除(完全に消えるもの)
Update ファイルの更新/ライブラリの更新など
Refactor 機能を変更しない整理
Devfeat *開発用の調整

*Devfeatはチケット番号不要

Branch

branch名 feature/チケット番号/titile
例: feature/#1/change-table-list
すべて小文字にする
区切りはスラッシュ
単語間の区切りはハイフン
開発用の修正(Devfeat)はチケット番号の記載は不要

Issue

branchを切る前に、templateからissueを作成
新規/変更内容を記載

PullRequest

issueのタスクを確認する
branchをdevelopにプルリクする際、チケット番号と変更内容を記載
備考があれば記載する (あえて修正しないバグなど)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment