git add

git add 파일명

기록을 남기고 싶을때 파일을 고르는것임 (Staging 했다 라고 표현함)
ex) 스테이징했냐?ㅋㅋㅋ

git commit

git commit -m '메모'

repository(저장소) 에 기록한(git add) 파일을 옮김

git status

git status

현재 Staging 파일, 수정된 파일 등 상태정보를 알려줌

git log

git log --all --oneline

commit 한 내역 확인

git checkout

git checkout 커밋아이디

과거 혹은 현재의 commit 으로 이동

profile
DevOps

0개의 댓글