Branch

Commit

Git - 커밋 메시지 컨벤션

방법1) 본문 있을 시
$ git commit

에디터에서 i누르기
만약, 로그인을 추가했다면

feat: Login .... 제목 작성

다음줄에 본문작성

esc -> :wq! 해서 저장하고 종료 후 

방법2) 본문 없을 시

	$ git commit -m "feat: [#issue number] 기능요약"

-------------------------------------

$ git push [remote] [branch] ...

Workflow

  1. local dev branch랑 remote dev branch 동기화 하기 → $ git pull origin develop
  2. jira story issue를 참고로 feature branch 만들기.
    $ git checkout -b feature/#[issue number]/[issue summary]
  3. story issue의 sub task를 기준으로 commit한다. → git commit -m "feat: [#5] 로그인 폼 스타일링"
  4. story 개발이 끝난 후 template에 맞춰서 Merge Request 날리기.