brunch

Git 처음 Repository 만들기

by 이종복

자신의 Github에서 새로운 Repository 만들기를 클릭하면,

다음과 같은 튜토리얼을 볼 수 있다.


1) 커맨드 라인에서 새로운 Repository 만들기
- echo "# hellojb" >> README.md

- git init

- git add README.md

- git commit -m "first commit"

- git remote add origin https://github.com/LeeJongbokz/hellojb.git

- git push -u origin master



2)커맨드 라인에서 이미 존재하는 Repository를 push하기

- git remote add origin https://github.com/LeeJongbokz/hellojb.git

- git push -u origin master


keyword