본문 바로가기
Github

Git remote 저장소에 프로젝트올리기

by sh.lee 2018. 11. 3.
  • Git 시작을 위한 디렉토리 생성
  • Git Bash 창 켜기 - 폴더 클릭해서 마우스 우클릭=>Git Bash Here 클릭
  • git init -저장소 생성
  • git clone url
  • git add .
  • git commit -m "변경 내용"
  • git push origin master -원격으로 보내기

master branch 이름
master아닌 다른 branch 사용하고싶으면 git push-u 브랜치명으로 작성