kookmin-sw / 2018-cap1-2

코웨이 (Coding Wherever Easily)
https://kookmin-sw.github.io/2018-cap1-2/
6 stars 1 forks source link

선행한 개별 프로젝트들을 공식 깃으로 이전 #4

Closed occidere closed 6 years ago

occidere commented 6 years ago

선행한 개별 프로젝트들을 공식 깃으로 이전

  1. remote 등록 & fetch
    [2018-cap1-2 (master)]$ git remote add Coway ../Coway/
    [2018-cap1-2 (master)]$ git fetch Coway
    From ../Coway
    * [new branch]    master    ->    Coway/master
  2. 임시 브랜치 생성
    [2018-cap1-2 (master)]$ git checkout -b temp Coway/master
    Branch temp set up to track remote branch master from Coway.
    Switched to a new branch 'temp'
  3. Coway 프로젝트 내부 내용을 Coway 폴더를 생성한 뒤 내부로 옮기고 커밋
    [2018-cap1-2 (temp)]$ mkdir Coway
    [2018-cap1-2 (temp)]$ git mv * Coway/
    [2018-cap1-2 (temp)]$ git add .
    [2018-cap1-2 (temp)]$ git commit -a -m "move Coway Project into nested Coway dir"
  4. master 브랜치에서 병합
    [2018-cap1-2 (temp)]$ git checkout master
    Switched to branch 'master'
    [2018-cap1-2 (master)]$ git merge temp       // 충돌 알아서 해결
    [2018-cap1-2 (master)]$ git push origin master
  5. 뒷정리
    [2018-cap1-2 (master)]$ git remote remove Coway
    [2018-cap1-2 (master)]$ git branch -D temp

참고: http://gypark.pe.kr/wiki/Git/%EC%A0%80%EC%9E%A5%EC%86%8C%EB%B3%91%ED%95%A9

occidere commented 6 years ago

[38d7e4f] Interpreter 프로젝트 이전 완료

shinjong93 commented 6 years ago

나는 개별 수행한 튜토리얼 같은게 대부분이라서 알아서 커밋할게

occidere commented 6 years ago

[c1d7d83] Coway Server 프로젝트 이전 완료

occidere commented 6 years ago

[3b95062] Android_app 프로젝트 이전 완료

occidere commented 6 years ago

모든 프로젝트 이전 완료