프로그래밍 기초/git (2) 썸네일형 리스트형 [git]remote기준으로 덮어쓰기 remote저장소와 연결해놓은 상태에서 진행하던 작업을 엎어버리고 다시 리모트 저장소의 내용을 덮어쓰고 싶을 때 git fetch -all git reset --hard origin/master [git]git 명령어 모음 2. git 사용자 설정 >git config --global user.name "사용자이름" >git config --global user.email "이메일 주소" 3. local 저장소 생성 >git init 4. 현재 저장소의 상태 알아보기 >git status 5. 변경 사항을 staging area (Index) 에 올리기 >git add . 6. staging area 에 있는 내용을 commit 하기 (변경 사항의 snap shot 이 있는 staging area 의 내용을 local 저장소에 snap shot 으로 저장하기 ) >git commit -m "commit 메세지" 7. 새로운 branch 만들기 >git branch 브랜치명 8. branch 목록 보기 >git branch .. 이전 1 다음