기본 사항 git init : 새로운 git 저장소 생성 code . : vscode를 실행 git branch -M main : master branch를 main 으로 이름 변경 계정 등록 git config --global user.email : 이메일 등록 git config --global user.name : 이름 등록 상태 확인 git status : git 상태 확인 git add : 파일 수정 이력 기록(commit 전 단계) git diff : add되지 않은 이력과 add된 이력의 차이점 확인 commit 이력 확인 ✔ log git log : commit 이력 확인. 해시코드 확인 가능. git log --oneline --graph --decorate --all - git log ..