본문 바로가기

Util & Etc & Build Tool/Git

[Git] origin, 원격 저장소 합치기

1. 일단 origin 저장소 가져옴.

2. 로컬에다 origin 가져온 다음에 git 탭에서 remote 에 bitbucket 에 있는거 추가

3. team -> remote -> configure fetch from upstream 에서 bitbucket 에 있는 branch 들을 조회해서 가져옴.

   (주의할 점은 origin 이랑 이름을 비슷하게 지으면 안됨. bitbucket, origin 구분해줘야함.)