목록2022/01/04 (1)
Developer_Neo
[Github] 컴퓨터에 있는 파일 git으로 Github에 업로드 하기
git이 설치가 되어있다는 가정하에 시작하겠다. git이 설치가 되어있고 로그인까지 마쳤다면 밑이 과정으로 하면 된다. 1. Github홈페이지에서 repository를 생성한다. 2. git bash를 실행시켜 리눅스명령어인 cd 폴더경로를 이용해서 깃헙에 업로드할 파일이 있는 폴더로 이동 $옆에 명령어를 입력하면 된다. EX) cd /D/example 3. git init을 입력해 git이 추적할 수 있도록 .git 폴더를 생성한다. git init 4. git status로 unpacked된 것들이 있나 확인한다. git status 5. 우리는 처음으로 Github에 올릴 과정이니 git add . 를 입력하여 해당폴더안있는 모든 파일을 local repository에 추가한다. 6. commit..
Extra
2022. 1. 4. 16:40