프로젝트와 GitHub 연동하기
2021. 2. 18. 21:49
형상관리/Git
프로젝트와 GitHub 연동하기 1️⃣ 연동하고 싶은 프로젝트 터미널에서 git init 2️⃣ GitHub에서 repository 생성하기(URL 복사) 3️⃣ 프로젝트 터미널에서 git remote add origin 복사한 URL 4️⃣ 전부 add하기 git add . 5️⃣ 커밋하기 git commit -m "first commit!" 혹시 "*** Please tell me who you are."라는 문구가 출력되면서 Commit에 실패할 경우 아래의 설정 해주기👇 git config --global user.email "you@example.com" git config --global user.name "Your Name" 6️⃣ 푸쉬하기 git push origin master 처음 연동..