조회 수 21734 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print

Branch가 분리되었다거나, 공통 branch에 전개된 부분들을 찾아볼때 유용한 방법.



model branch(model_src_release)와 common_src branch 간단 비교 방법
  • git branch -r
    현재 git에 존재하는 remote branch 전체 list up
  • git diff --name-only lap/common_src lap/model_src_release
    모든 branch 출력
    lap/capp_ics branch와 model branch간의 diff file 목록 출력
  • git diff lap/model_src_release lap/model_src_release lib/Adapt/Include/DRM_Config.h
    파일에 대한 diff하기
    DRM_Config.h file에 대한 lap/common_src branch와 model branch간의 diff
model branch(model_src_release)와 common_src branch 간단 static 비교
  • cd android/frameworks/base/drm
    git folder로 이동
  • repo sync .
    LAP를 merge하지 않더라도 remote common_src branch는 항상 최신으로 유지됨.
  • git checkout -b common_src lap/common_src
    remote lap/common_src branch에 대한 common_src local branch 생성
    common_src의 현재 소스를 받아오는 거임
  • cp -r android/frameworks/base/drm ~/xx
    common_src의 drm folder를 보두 복사하고
  • git checkout model_src_release
    다시 원래대로 원복.
    model branch로 이동 후 copy해 놓은 capp_ics branch의 xx foler와 현재 folder의 내용을 beyond compare를 이용해 비교
  • 그리고 Beyond Compare로 비교하자


Dreamy의 코드 스크랩

내가 모으고 내가 보는

List of Articles
번호 분류 제목 날짜 조회 수 추천 수
386 일반 OMV (OpenMediaVault) 플러그인들 2019.02.10 7935 0
385 LINUX 우분투 root 계정 사용하기 2014.06.18 8135 0
384 LINUX 리눅스 그룹관리 (groupadd, groupmod, groupdel) 2016.02.23 8266 0
383 PHP 윈도우용 센드메일 구축 2016.03.30 8298 0
382 LINUX 도우 gvim에서 사용하고 있는 _vimrc 파일 2015.01.26 8317 0
381 Android L버전 32/64bit tip 및 multi user 관련 adb 명령어 2014.11.18 8393 0
380 PHP 파일 데이터 저장하고 불러오기(파일 입출력) 2015.09.30 8400 0
379 Android json 데이터 다루기 - GSon 사용법 2017.03.15 8435 0
378 Pi LiPo charger 리튬 배터리 충전모듈 사용법 file 2018.03.19 8508 0
377 Python [Sconscript] Install method 2014.05.29 8523 0
376 LINUX 프로세스를 이름으로 단번에 종료하기 2017.06.07 8577 0
375 C++ istringstream 을 이용한 string type 변환 & 토크나이징 2017.06.07 8620 0
374 Python json 데이터 핸들링 2017.03.09 8630 0
373 LINUX epoch time을 실제 시간으로 변환해주는 excel 함수 2015.03.18 8789 0
372 Android ion memory 사용량 확인하기 2014.12.03 8801 0
목록
Board Pagination ‹ Prev 1 ... 4 5 6 7 8 9 10 11 12 13 ... 34 Next ›
/ 34

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5