Skip to main content
  1. Learn center
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Git 사용 방법
  6. Git에서 태깅을 사용하는 방법
  7. 태그에 주석 달기
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

태그에 주석 달기

메모를 추가할 수 있는 기본 텍스트 편집기를 여는 -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
Add a tag with an annotation "tag2" to a commit which HEAD is pointing out now.

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life