처음 Git 을 접했을 때에는 Git Bash 를 많이 사용했었다. 많이 사용되고 있는 SourceTree
만 사용하려고 해도, Branch 개념을 이해하지 못해 Svn 처럼 사용을 했었다.
위 사이트는 그림위주로 작업의 흐름에 대해 설명이 잘 되어 있다. 충분히 참고 하자.
Git Bash 에서 익숙해지다 보니, Eclipse 에서도 Git 을 사용하고 싶었다. 지원해주는 Plugin 이 있어 설치 하고 사용해 보았는대, 흐름을 알고 사용하면 상당히 편리 하다. 아직 기본 흐름이 해깔리거나 이해가 안된다면, Git Bash 환경에서 조금더 연습 할 것을 권장 한다.
1. Eclipse Marketplace
Help > Eclipse Marketplace... 클릭, git 이라고 검색 하자.
EGit - Git Team Provider 를 install 하자.

IDE 환경인 만큼, 열심히 next 하자. 설치가 될 것이다.

Restart Now? 팝업이 뜨면, Yes 하자.

2. Git Repositories
Eclipse 를 재 시작 했다면, 설치가 완료 된 것이다.
Window > Show View > Other... 클릭, git 이라고 검색 하자.
Git Repositories 를 추가 한다.

3. Git Clone
Project 를 받아 보자. Git 은 Clone 명령어를 사용하면 된다. Clone a Git repository 클릭

Location, Authentication 정보를 추가 하자.

Branch 가 여러개 인 경우, 설정 한다. 기본은 master 이다.

Local 에 저장 되는 Directory 설정만 하면 마무리다. Cloneing 하고 있다.

완료가 되면, 아래와 같이 표시 된다.

4. Project Import
Git 폴더 클릭 > 마우스 오른쪽 > Import Projects... 클릭
Import existing projects 를 선택 하고, 폴더를 지정 한다.

Finish 하자. Package Explorer 에 추가 된 모습을 볼 수 있다.

Eclipse 에서 편하게 사용해 보자. Project 에 따라 추가 설정이 필요 할 수 있다.