최초 초기화 입력 커맨드(저장소 생성)
$ git init
git 저장소 추가 (최초 생성시 한번만)
$ git remote add origin https://github.com/GamjaUnni/coding_test.git
git에 등록된 저장소 정보보기
$ git remote -v
git 저장소에서 파일 클론(local repository로 가져옴)
$ git clone https://github.com/GamjaUnni/GamjaUnni.git
git 작업물 받아오기
$ git pull origin master
git에 폴더 안의 전체 파일(.) 올릴 준비
$ git add .
git에 특정 부분의 폴더 안의 전체 파일 올릴 준비
$ git add 폴더명/.
git commit 메시지 입력
$ git commit -m "first commit"
git commit 메시지 수정
$ git commit --amend -m "first commit"
git 저장소에 최종 등록 (origin : 저장소이름 / master : 로컬브랜치)
$ git push origin master"
git 이름, 이메일 변경
$ git config --global user.name "홍길동"
$ git config --global user.email "~@gmail.com"
git 사용자, 이메일 확인
$ git config user.name
$ git config user.email
cmd창에서 잘못입력 했을경우 빠져나오기
$ ctrl+c
window의 cmd창에서 디렉토리 보기
$ dir
cmd창에서 디렉토리(폴더) 이동
$ cd