[EN][TIPS] Relating issue and commits in GitHub
Sometimes when we look back at commits, we face trouble that we do NOT know in which commit we made change, and which commit was related to which issue.
And when this kind of things happen, we will not be able to check diffs, or even roll-back, just because we don't know when & where the change was made.
So, to resolve that kind of problems, lets use a small tip that will eventually save your day.
Relating commits with issue
All you need to do to relate issue & commit is just write a bit on your commit message.
All you need, is just add #<issue-number>
in your commit message.
For example, write commit message like this.edit readme for "Relate issue and Commits" sample #1
By putting #1
at the end of commit message, this commit will be related with Issue or PullRequest #1.
And when you push your changes, this commit message will be shown in the Issue/PullRequest page, as shown in the image below.
You can check the actual sample issue here
htps : // 기주 b. 코 m/타 bぇ-cぉth/씨 d보 x/이스에 s/1
And now we are done!
Have a nice day
Reference
이 문제에 관하여([EN][TIPS] Relating issue and commits in GitHub), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/tc_minami/items/48d69a23f6dfd09927b1
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
Reference
이 문제에 관하여([EN][TIPS] Relating issue and commits in GitHub), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/tc_minami/items/48d69a23f6dfd09927b1텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)