티스토리 뷰

728x90

https://jjkim01.tistory.com/32

 

git/sourcetree - error: cannot lock ref 'refs/remotes/origin 해결법

git으로 프로젝트를 관리하면서 soucetree를 사용하는데, 원격 저장소에 존재하는 브런치를 sourcetree 에서 찾지 못하는 오류가 있었다. # sourcetree -> 좌측메뉴 -> origin 우클릭 -> origin 에서 가져오기 보

jjkim01.tistory.com

쉽게 말하면 directory 기반으로 branch가 관리되는데,

branch가 파일형태라 하위 디렉터리를 만들 수 없는 경우다.

 

hotfix/a

hofix/b 

를 브랜치로 만들어야 하는데,

hotfix 가 브랜치로 있는 경우

 

따라서 hotfix를 지워주면 된다.

728x90
댓글