Github 가져오기

    [Git/Github] 다른 사람의 repo를 내 repo로 가져오기 (set-url)

    Problem 다른 사람의 remote repo에서 내 local repo로 clone해온 것을 (변경사항 확인용, 버전관리용으로 사용하기 위해) 내 repo에 올리기 Solution 현재 연결되어있는 remote repo 확인 git remote -v 아마 이런식으로 다른 사람의 remote repo에 연결되어있을 것 # origin https://github.com/[user-name]/[repo-name].git (fetch) # origin https://github.com/[user-name]/[repo-name].git (push) 자신의 Github 계정에서 새로운 repo 생성하고, 새로 생성된 repo의 url 복사 set-url 옵션을 이용하여 remote repo의 url을 변경 gi..