-
eclipse , github 연결기타 2023. 4. 3. 11:13
github의 repository 생성 후
eclipse의 window -> show view -> other -> git 검색 후 -> git repositories 클릭
- Clone a git repository 를 클릭
- clone uri 클릭
- URI에 git repository의 주소를 넣고 USER 와 PASSWORD 에 깃 아이디와 비밀번호를 사용하자.
- git 로컬 directory에 경로를 지정하고 finish
repository 생성 중 아이디와 비밀번호를 한번 더 입력해야한다. 이 때 비밀번호는 git 토큰이다.
- 다음과 같이 repository가 생성됬다.
- repository에 추가하고싶은 프로젝트를 우클릭하고 team - share project 선택
- repository 위치 선택 후 fisnish
- 프로젝트를 prository에 추가하고 나면 team의 메뉴가 바뀐다. 이 중 Commit을 선택
- Unstaged Changes 에 있는 파일중 commit 하고싶은 파일을 선택
- 이후에 commit and push나 commit을 실행
repository에 저장되어 있는 프로젝트 가져오기
file -> import -> project from git 실행
- clone URI
- repository 생성할 때 처럼 마무리
'기타' 카테고리의 다른 글
HTTP 상태 415 – 지원되지 않는 Media Type (0) 2023.04.05 controller 미 설정 ( HTTP 상태 404 ) (0) 2023.04.05 유튜브 클론코딩(1) (0) 2023.03.23 유튜브 API (메모용) (0) 2023.03.22 git hub [ CRLF , LF ] 오류 (0) 2023.03.20