깃 Git
git init
Create an empty Git repository or reinitialize an existing one
새로운 깃 레파지토리를 만들거나, 기존 것을 초기화
git add
Add file contents to the index
처음/새로 트래킹 할 파일을 추가, 커밋하고자 하는 파일만 선택
git add
하면 stage area에 올라감(커밋 대기 상태)
git commit
Record changes to the repository
의미있는 변화인 버전 또는 작업이 완결된 상태의 버전을 만드는 것
git commit
을 하면 stage area에 있는 파일들이 새로운 버전
stage area
커밋 대기 상태
git log
git diff
git reset
git revert
Last updated