병홍 2013. 5. 2. 14:46

Tag

 

Release 시 사용

 

git tag

 

git tag -l 'v1.4.*'

1.4 버전의 Tag만 검색

 

Tag 생성

git tag -a v1.4 -m 'my version'

git show

Tag 정보와 커밋 정보 확인 가능

 

 

Tag 서명

git tag -s v1.5 -m 'my version'

 

Tag 검증

git tag -v TAG이름

 

Tag 공유

하나만

git push origin TAG이름

여러개

git push origin --tags

 

Tag 가져오기

repo forall -c git reset --hard TAG이름
repo forall -c git clean -xdf