Branch1 vsCode로 Git repository 및 branch 생성 git repository 생성 new를 클릭하여 새로운 repository 생성 이름 지정 후 맨 아래 Create repository 클릭SSH URL 복사 vsCode 폴더 만들어서 새창으로 띄우고 README.md 만들기 git add . git commit -m “[커밋 메시지]” git branch -M main git remote add origin [ssh url] git push -u origin main repository 생성됨 git branch 생성 새창 열어서 git clone -b [브랜치 이름] [ssh 주소] 터미널에 입력 터미널 앞에 있는 경로에 폴더가 생김 vsCode를 통해 폴더 열기 터미널에 git checkout -b [브랜치 이름] ← 여기선 test git ad.. 2023. 10. 27. 이전 1 다음