오늘은 Intellij에서 작업중인 프로젝트를 Github에 연동하는 방법을 알아보자.
Github에서 생성할 Repository 생성
Github -> repository -> New 클릭

Repository name을 입력 및 해당 Repository의 공개 여부 선택 후 Create repository 클릭


IntelliJ에서 GitHub 로그인




로컬 Git Repository 생성
이제 GitHub의 리모트 Repository와 로컬 프로젝트의 디렉토리를 연동하기 위한 Git Repository 만들기.

IntelliJ에서 GitHub Repository 등록하기
로컬에서 생성한 Git Repository와 연동할 GitHub의 Repository를 등록
Git → Manage Remotes

GitHub Repository의 URL은 Code 버튼을 클릭하여 확인 가능하다.


commit, push 진행하기
실제 로컬 프로젝트를 GitHub에 commit과 push 해보자




