티스토리 뷰
github에 내 프로젝트 등록하기
github에서 local repository 생성 (Initialize this repository with a README 옵션을 체크 해제)
windows powershell 혹은 Git Bash로 cd "원하는 디렉토리"로 이동후
git init
git remote add origin "https://github.com/sunovivid/Kimkejang-web-crawler"
//원격 저장소 추가
git add <파일명1> <파일명2> ..
//track시작
git commit, 커밋 메시지 작성
git push origin master
//원격 저장소에 푸시
github에 존재하는 프로젝트 받아오기
git bash에서 폴더를 생성할 디렉토리로 이동 (cd) (선택된 폴더에 클론한 프로젝트명으로 폴더가 생성됨)
git init
git clone "https://github.com/sunovivid/boostcourse_fullstack_web.git"
끝!
github에 작업사항 저장하기
git status
//수정된, 트래킹되지 않는 파일들 확인
git add -all
//.gitignore에서 제외하지 않은 모든 파일들 등록
git commit -m "커밋 메시지"
git push origin master
특정 소스만 받으려면 download ZIP을 선택해도 된다.