Git

github, gitlab 동시에 쓰기

91MS 2019. 8. 12. 13:42
// 현재 저장소 확인
git remote -v

// 저장소 추가
git remote add upstream https://....git

// 추가된 저장소 확인
git remote -v

// 추가된 것 확인 후 push
git push upstream

 

추후 push 할땐 git push upstream 으로 동기화

'Git' 카테고리의 다른 글

Git Conflict 해결  (0) 2019.06.22