본문 바로가기

Git & Github

git 생성

git init : initialize repository

 

.git : git repository

 

working tree : 버전으로 만들어지기 전 단계 (수정한 내용이 들어있다.)

 

Stagging Area : 버전으로 만들려고 하는 파일들

 

Repository(저장소) : 버전이 저장되어 있는 곳 = .git

 

git은 Stagging Area에 있는 것만 버전으로 만든다.

 

git status : working tree status

 

git add : add to staging area

 

git commit : create version

 

git log : show version

 

git log --stat