[GitHub] #1 기본 셋팅 & 콘솔 사용법

개발Velog·2020년 1월 5일
1

Github

목록 보기
1/1

기본 셋팅

GIT 설치

  1. https://git-scm.com/ --설치
  2. github 접속 후 레포지토리 등록
  3. cmd 실행 후 프로젝트 위치 이동

콘솔 사용법

프로젝트 업로드

git init
git remote add origin [레포지토리 url]
git add.
git commit -m "ex)project copy"
git push origin master

프로젝트 다운

git clone [레포지토리 url]

100MB 이상 파일이 존재하는 프로젝트 업로드 방법

git init
git lfs install
git lfs track "*.[해당 파일 및 확장자]"
git remote add origin [레포지토리 url]
git add.
git commit -m "ex)project copy"
git push origin master
profile
안녕하세요. 데이터와 동고동락 중인 개발자 입니다.

0개의 댓글