웹도구 및 Plugin/git

이미 만들어진 프로젝트 Git 올리기

FreshCrush.Jang 2018. 10. 17. 17:32

1. Create new repository 

※ Clone URL은 Create new repository 생성 후 다음 페이지에서 나옵니다.

2. Git Bash Open

3. 프로젝트 저장 폴더로 이동

 $ cd "c:\WebSite"


4. 명령어를 입력합니다.

$ git init

$ git add .

$ git commit -m "first commit"  ※ $ git commit -m "{ comment }"

$ git remote add origin { github Clone URL } ※ Clone URL은 Create new repository 생성 후 다음 페이지에서 나옵니다.

$ git push origin master


5. git repository를 확인합니다.