Git

[TIL] 로컬 파일 깃 레포지토리 연동하기

sodait 2021. 4. 24. 13:34

#개인 기록용

 

github - New repository 만들기

 

내 레포지토리에서 주소 복사

 

vscode 터미널

git remote add origin https://github.com/SongDye1/cakeshop.git

git commit 하려했으나

나의 경우, config 설정하라고 새창 뜸

githup setting - profile에서 Public email 등 설정 후,

config email, name 설정

 

 

다시 commit 하기

 

git push origin master 후,

vscode에서 위의 token 입력하라는 창이 떠서 token 복붙 후 레포지토리 연동 완료~