태그에 주석 달기
메모를 추가할 수 있는 기본 텍스트 편집기를 여는 -a
옵션과 함께 git tag 명령을 실행하여 태그에 주석을 추가할 수 있습니다.
태그 생성과 함께 메모를 추가하려는 경우 대신 -am
옵션을 사용할 수도 있습니다.
다음 명령을 실행하여 몇 가지 메모와 함께 tag2
라는 HEAD에 대한 태그를 추가합니다.
$ git tag -am "Simple Git tutorial for beginners" tag2
-n
옵션을 사용하면 이 저장소에 대한 메모와 함께 태그 목록이 제공됩니다.
$ git tag -n
tag1 first commit
tag2 Simple Git tutorial for beginners
