git init ;현재 디렉토리를 설정 하고 레포지토리생성
git config user.name'wangmandoo' ;'왕만두'로 사용자 아이디를 설정
git add [ 파일이름 ]; 수정사항이 잇는 특정 파일 staging area 에 올리기
git add[디렉토리명] ; 디렉토리내에서 수정 한 것을 staging area 에 올리기
git add . ; working directory 에 잇는 모든 파일을 staging area 에 올리기 . 한방에 올리고싶을 떄 사용
git reset[파일이름] ; staging area 에 올렷던 파일 지우기
git status ; git 현재 상태
git commit -m "커밋메시지" ; 현재 staging area 에 잇는 것 커밋으로 남기기
git help[커맨드이름] ; git 커맨드 공식 메뉴얼 출력
git log ,--pretty (0) | 2024.07.16 |
---|---|
git push , pull , clone (0) | 2024.07.16 |
git 상태 (0) | 2024.07.16 |
working directory , staging area , repository (1) | 2024.07.16 |
repository ,commit (0) | 2024.07.16 |