본문 바로가기
개발/게임) 개발관련

문제해결)소스트리(SourceTree) Git Tag 갱신 안될때

by 테샤르 2023. 11. 15.

소스트리(SourceTree) Git Tag 갱신 안될 때

Git Tag가 갱신이 안되는 상황에서 해결 방법을 간략하게 포스팅 한다.

 

 

반응형

 

 

터미널에서 해당 명령어를 입력한다.

 

<Tag 를 모두 가져오는 옵션>

더보기

Fetch all tags from the remote (i.e., fetch remote tags refs/tags/* into local tags with the same name), in addition to whatever else would otherwise be fetched. Using this option alone does not subject tags to pruning, even if --prune is used (though tags may be pruned anyway if they are also the destination of an explicit refspec; see --prune).

git fetch --tags

 

기본적으로  태그를 가져오는 명령어로 확인이 가능하다.

혹은 다음의 모든 원격 저장소를 업데이트를 통해서도 가능하다.

 

<원격 저장소를 업데이트>

git remote update

 

 

 

추적하고 있는 모든 저장소(원격)을 업데이트하는 과정에서 tag도 가져오게 된다.

 

 

 

 

Git - git-fetch : [링크]

 

Git - git-fetch Documentation

In general, URLs contain information about the transport protocol, the address of the remote server, and the path to the repository. Depending on the transport protocol, some of this information may be absent. Git supports ssh, git, http, and https protoco

git-scm.com

Git - git-remote : [링크]

 

Git - git-remote Documentation

With no arguments, shows a list of existing remotes. Several subcommands are available to perform operations on the remotes. add Add a remote named for the repository at . The command git fetch can then be used to create and update remote-tracking branches

git-scm.com

 

 

★★☆☆

 

반응형

댓글