
New Repository를 클릭한다
Repository name 칸에 원하는 이름을 기입한 후 아래 Create repository를 클릭한다

..or create a new repository on the command lne 라는 문구 아래를 Terminal에 입력해줄 예정이다Mac에서 VS Code를 사용하고 있다면 아래 shortcut을 쓰면
New Terminal을 불러올 수 있다control + shift + `

생성된 Terminal 창에
git init
아래와 같은 메세지를 보게 될 것이다
Initialized empty Git repository in [저장된 주소].git/
git add .
git add 파일명.확장자로 불러오면 된다git status
나는
git add .를 활용해서 폴더 내 모든 파일을 올렸다
git commit -m "커밋 메세지"

first commit이라는 커밋 메세지를 작성하였고 위 이미지 최상단 최우측에 보면 확인할 수 있다git remote add origin https://github.com/ohandysh/Blog_Idea_1.git

위 Github 환경 세팅하기 부분에서 보았던 ...or create a new repository on the command line내 ---git remote add origin--- 이라는 부분을 복사해서 Terminal에 ctrl+c 와 ctrl+v해준다
난 Blog_Idea_1이라는 이름으로 Github에 생성했기 때문에 주소가 위와 같다
git remote -v

git push origin master

Allow 눌러주자
Authorize Visual-Studi-Code 를 실행해준다
Allow 눌러주자
master -> master가 나오는지 중간에 누락된 파일은 없는지 잘 확인해주자
git add . 혹은 git add 파일.확장자를 하면 staging area로 이동하게 되고git commit -m "커밋 메세지"를 쳐주고 commit을 한 후git push origin master를 실행 하면 끄-ㅌ**3번까지 진행하고 난 후 github을 확인 해보면 "커밋 메세지"가 가장 최근에 변경된 것으로 바뀌어진 것을 확인할 수 있다