Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] 작업 내용 단위로 Issue화 및 커밋 메세지에서 Issue 태그 및 - close #4

Open
tastekim opened this issue Feb 20, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@tastekim
Copy link
Member

git commit -m "new message - close #IssueNumber

커밋 메세지 안에 작업 내용이 적힌 issue를 태그해서 커밋과 issue를 연결할 수 있습니다.
또 커밋 메세지 안에 - close #IssueNumber 를 넣으면 커밋 메세지가 생성됨과 동시에 해당 issue가 자동으로 close 됩니다.

사용이유

커밋 메세지에는 불필요한 내용을 없애고 커밋에 대한 간략한 주제 설명만 담고
자세한 내용들은 태그한 issue 안에서 설명하면 각 작업단위들에 대해 기록을 남길 수 있습니다.
또한 close를 통해서 해당 작업을 완료했는지의 여부를 커밋과 함께 적용시킬 수 있습니다.

사용방법

  • git commit -m "new message - close #IssueNumber"
@tastekim tastekim added the documentation Improvements or additions to documentation label Feb 20, 2023
@tastekim tastekim self-assigned this Feb 20, 2023
@tastekim tastekim pinned this issue Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant