Skip to content

Git convention

kwonsye edited this page Jul 29, 2020 · 4 revisions

Branch Naming

  • master branch
    • master
  • release branch
    • release/{version number}
    • ex: release/1.0.0
  • hotfix branch
    • hotfix/{version number}
    • ex: hotfix/1.0.1
  • develop branch
    • develop
  • feature branch
    • feature/{feature description}
    • ex: feature/audio-guide

Commit Template

Template

[Prefix] commit title

  • commit article

Example

[Feat] Implement API

- Implement new API
- Close #1

Commit prefix

[Feat]: 새로운 기능
[Bug]: 버그 수정
[Fix]: 버그 수정을 제외한 모든 코드 수정
[Depend]: 디펜던시 추가
[Test]: 테스트 코드 관련 커밋
[Doc]: swagger 문서, 주석, 리드미 작성
[Setting]: 설정 추가 및 수정
[Chore]: 기타 변경사항

Git Strategy

Git flow

git-flow

Clone this wiki locally