[git]commit을 위한 세가지 영역 - working directory , staging area , repository 초간단 개념 설명 , 모식도


[git]commit을 위한 세가지 영역  - working directory , staging area , repository 초간단 개념 설명 , 모식도

세가지 영역 working direcotry ---(git add)---> staging area ---(git commit)---> repository 작업하는 영역이다 commit을 하기 위한 장소이다 버전별로 올라가는 장소이다 간단 모식도 <1단계> working direcotry ---(git add)---> staging area ---(git commit)---> repository a.txt - hello ---(git add a.txt)---> a.txt - hello ---(git commit -m "ver1")---> a.txt - hello b.txt - world ---(git add b.txt)---> b.txt - world b.txt - world <2단계> working direcotry ---(git add)---> staging area ---(git commit)---> repository a.txt - hello~~ a.txt - hello ---...


#area #commit #directory #git #repository #staging #stagingarea #working #workingdirectory

원문링크 : [git]commit을 위한 세가지 영역 - working directory , staging area , repository 초간단 개념 설명 , 모식도