2015년 8월 4일 화요일

Connect gitlab to eclipse


eclipse 에서 gitlab 연결 (Connect gitlab to eclipse)

  • git 폴더 생성 후 폴더 내에서 명령어을 통해 파일을 내려받는다.
    make a file where you will download git using cli
    git clone http://gitlab.masterAddress
    
  • eclipse로 들어가서 import 시킨다
    import the folder in eclipse in my case the project i got was gradle project.
    (나와 같은 경우 gradle 프로젝트여서 gradle 프로젝트 임포트. 자신의 프로젝트에 따라 알만게 import하면 될 듯.)
    file - import - Gradle - GradleProjct - "the folder i made (git clone)"
    
  • eclipse에서 gitlab 연결
    connect eclipse to gitlab
    imported project click ->  team -> share project -> git -> local repository : "the folder we cloned git." -> finish
    
    다시 team -> share에 들어가면 add, commit, push 등을 할수 있는 목록이 보인다.
    not you can see menus in Team -> share

Share Process

Add (staging) -> Commit (your local repository) -> Push (remote Repository, Master Repository)
  • add : team - share - Add to index
  • commit : team - share - Commit
  • push : team - share - push branch “master”..