이클립스에서 github repository 연동하기

2023. 9. 13. 19:58
728x90

1) git에 repository 생성

2) git 주소 복사

3) 이클립스에서 Window > Perspective > Open Perspective > Other > Git > Open

4) 오픈된 perspective에서 Clone a Git Repository and add the clone to this view 찾고 클릭

5) URI에 복사한 깃주소 넣고

6) Authentication에 깃허브 User 이메일/닉네임과 비밀번호를 입력 > Next

7)  브랜치 선택 > Next

8) Directory : 로컬에 저장될 경로 지정 > Finish

 

연동완료 후

1) 기존 프로젝트 폴더의 오른쪽 마우스 > Team > Share Project 클릭

2) Repository에서 연동한 레포지토리 선택 > Finish

 

연동한 github에 Commit/Push

1) 프로젝트 파일에서 오른쪽 마우스 > Team > Commit

2) 새로 나타난 화면세어 Unstaged ChangesStaged Changes로 옮기기 > Commit and Push 버튼 누르기

 

** 하지만 오류가 난다!!!!!!!!!

자꾸 무슨 오류가 난다..

push가 안되고

configure를 눌러서

 

Advanced > Specifications for push 에서 삭제하고

Source ref를 새로 선택하여 Add Spec 클릭... 하고 대충해.

 

728x90

'Programming' 카테고리의 다른 글

깃 커밋 컨벤션  (0) 2023.09.19

BELATED ARTICLES

more