git init
# 버전에 포함되는 제작자에 대한 정보 설정
git config --global user.name 'user name'
git config --global user.email 'user email'
# stage 단계의 파일로 변경 (commit 대기 상태)
git add file.file
# file 상태 확인
git staus
# commit
git commit -m 'commit msg'
git add의 원리
git add 후 .git의 index와 objects/78/무언가 긴수 가 바뀜
파일의 이름은 index에
파일의 내용은 objects에 들어있음
git은 어떠한 파일을 저장할 때 파일명이 달라도 내용물이 같으면 같은 object를 가리킴