github에 repository를 먼저 생성

(remote repo에는 .gitignore와 LICENSE가 commit되어있는 상태)


git init

git remote add origin https://github.com/ssaemo/asyncio-irc-client.git

git pull origin master # origin으로부터 local master로 가져옴

git add .

git commit -m "first commit"

git push origin master # origin으로 local master commit을 push


이 글을 포스팅하다가 git pull에 대해 설명을 적으면 좋겠다 싶어, 아래와 같은 글을 작성하였다

참고하면 좋을 것같다


<git merge, git pull, branch 팁/노하우 공유>



WRITTEN BY
hojongs
블로그 옮겼습니다 https://hojongs.github.io/