-
GIT
- GIT 다운로드
- 64bit 다운로드
- GIT bash 열기
- 폴더에서 우클릭 => Git bash
- GIT bash에서 github 로그아웃
- git config --global --unset-all user.name
- git config --global --unset-all user.email
- git config --system --unset-all credential.helper
- GIT 최초 명령어(한번만 하면 됩니다.)
- git config --global user.email "이메일"
- EX : git config --global user.email "berman532@gmail.com"
- git config --global user.name "사용자명"
- EX : git config --global user.name "kimyang-sun"
- git config --global user.email "이메일"
- GIT 명령어
- git clone 리포지터리주소
- EX : git clone https://github.com/사용자명/site1.git
- cd site1
- 작업폴더로 이동
- 브라켓으로 작업 혹은 파일을 디렉토리(site1 폴더)로 복사
- 작업 후 서버에 적용
- git add .
- git commit -m "작업내용"
- git push origin master
- 업로드 된 결과 확인
- https://{username}.github.io/site1 에서 확인
- EX : https://사용자명.github.io/site1/index.html
- 바로는 안될 수 있음
- https://{username}.github.io/site1 에서 확인
- 결과확인이 바로 안될 때
- git commit -m 'rebuild pages' --allow-empty
- git push origin master
- 로컬 저장소 최신화 하기
- git pull origin master
- git clone 리포지터리주소
- 누구나 쉽게 이해할 수 있는 GIT 링크
'코딩 기록' 카테고리의 다른 글
(코딩 계획) 이번주 코딩 연습계획 (0) 2020.01.09 댓글
- GIT 다운로드