내가 자주쓰는 git 명령어 들

초기화

git init

저장소 추가

git remote add origin http://나의깃.주소.주소.git

해당 브랜치 pull

git pull origin master

해당 브랜치 checkout

git checkout stage

변경 된 내용 걍 되돌리기

git reset --hard

변경 된 특정 파일만 되돌리기

git checkout -- 파일이름