기릿이 제출한 두 번째 줄에 뭐라고 쓰면 어떨까요?
2319 단어 Git
정보 제출 방법
일반적으로 첫 번째 줄은 설명, 두 번째 줄은 공백, 세 번째 줄은 상세한 설명이다.그럼 두 번째 줄에 뭘 쓰면 어떨까.
두 번째 줄에 설명된 제출 편지

이렇게 두 번째 줄에 무엇이 적혀 있는지 제출 정보로 제출한다.
git log
이거 해보면 이렇게 나와요.
GiitHub에서는 이렇게 표시됩니다.

GiitHub for Mac에서는 이렇게 표시됩니다.

bitbucket에서 이렇게 표시됩니다.

언뜻 보기에는 아무런 문제가 없다
이처럼 인터넷 서비스도 문제없이 드러난다.두 번째 줄에 무언가를 쓰는 것은 의도치 않은 동작을 썼기 때문이 아니다.하지만..
git log는 문제가 발생했음을 나타냅니다.
의외의 동작이 일어나지 않을 줄 알았는데
git log --oneline
의 표시는 다음과 같다.첫 번째 행, 두 번째 행, 세 번째 행이 한 행에 표시됩니다.
그래서 우리는 다음과 같은 긴 제출 정보를 만들었다.

이것
git log --oneline
을 하고 이렇게 됐어요.
결과적으로
git log --oneline
는 메시지를 제출하는 첫 번째 빈 줄을 읽고 한 줄로 출력하는 동작인 것 같습니다. (빈 행동이 비어 있는 글은 보이지 않습니다.)소스 코드를 읽지 않았기 때문에 추측할 수 있습니다.총결산
이번에는 동작
git format-patch
과git am
등을 검사하지 않았고, 두 번째 줄에 기술된 제출 정보가 반드시 문제가 되지는 않을 것이다.특별한 이유가 없으면 편지를 제출하는 두 번째 줄은 비어 있다.
Reference
이 문제에 관하여(기릿이 제출한 두 번째 줄에 뭐라고 쓰면 어떨까요?), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/yu_suke1994/items/29625ad905a5dc5df6c0텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)