git 리모트 저장소 추가하기 git remote add origin 리모트저장소 주소 이런 다음에 git remote -v 해보면 추가된 리모트 저장소가 보일것이야.물론 리모트 저장소는 https://github.com/ 에 만들어 놨다는 전제하에 말이다. 그럼 이제 push 하면 되는데처음에 push 를 하면 $ git push origin master # To https://github.com/user/repo.git # ! [rejected] master -> master (non-fast-forward) # error: failed to push some refs to 'https://github.com/user/repo.git' # To prevent you from losing history..