git init
: 폴더 처음 생성 후 git 초기화git status
: 깃 상태 확인 commit 상태 확인touch xxxx
: xxxx 이름가진 파일 생성git commit -m "commit comment"
comment 작성됨git add filename
: filename을 가진 파일 추가git log
: commit log나 현재 상태 로그 출력 git log --oneline --graph
: log graph로 출력git log --graph --pretty=short --no-merges
: 머지 제외