Imagination for git

 git 용어 정리와 함께 형상화 합니다.

 

용어

형상화

의미

설명

repo manifest

multi-drive 명세서

git project list file

여러 개의 git project 정보를 list-up 해놓은 file

repo (repository)

multi-drive 저장소

collected git project repository

repo manifest 따라  git project 수집해놓은 저장소

git (git repository)

drive

git repository

 개의 git project (=git repository) 저장소

remote

drive

remote git repository name

remote repository 뜻함(따라서 origin, aosp등은 remote이다.)

  URL

drive path

full address for remote repository

원격지에 있는 git project repository 주소 (ip:port:path형식)

  origin

drive

remote git repository name

tracking git project 연결된 "remote git repository 이름"

branch

root dir

branch in git repository

지속적으로 작업 가능한 작업공간

  master

root dir

main branch in git repository

default 생성된 branch main branch성격을 가짐

  remotes

root dir

 

 

commit

partial zip patch

code patch with comment

before/after 차분이 들이 있는 부분 patch-set

  HEAD

 

patch set showing now

가장 최근의 commit revision 가리키는 이름

  ORIG_HEAD

 

previous HEAD revision

HEAD 변경한 경우, original HEAD 가리키던 위치

tag

full zip of root dir

snapshot of branch at specific time

어느  시점에 특정에 특정 branch tag 묶어놓은것

hunk

diff block

commit 양쪽 경계

+- 묶여진 diff block 뜻함

 

 

git 구조도

Remote Repository

Local Repository

Indexed (Tracked) Area = Staged

Workspace (Untracked) Area = Not Staged