1/잡다

git 간단한 명령어

하례은 2020. 9. 17. 21:13

브런치 이동

git checkout branch_name

 

 

가져오기

git pull origin master(branch이름 사용)

 

 

올리기

git status
git add .
git commit -m "massage" // 메세지 남기기
git push origin +master

 

 

이전 커밋으로 돌아가기

git reset HEAD~1 // 이건 잘 모르겠다. 해봤는데 잘 안됌.

 

 

 

~ 추가~