Git(깃): 이미 존재하는 폴더를 온라인 프로젝트(GitHub)에 추가하기
원본 글 링크
개인적인 목적으로 약간의 부가설명 및 스크린샷을 첨부했습니다.
1. github에 저장소를 만듭니다.
2. git을 사용할수 있는 터미널을 열어줍니다.
3. 자신이 git에 올리고 싶은 root 폴더로 이동합니다.
4. git디렉토리를 초기화 하여 줍니다.
1
$ git init
5. commit을 하여줍니다.
1
2
$ git add .
$ git commit -m "First Commit"
6. remote repository를 등록하여 줍니다.
1
2
$ git remote add origin [ github clone URL ]
$ git push -u origin master
[caption id=”attachment_2374” align=”alignnone” width=”2318”]
GitHub에 업로드 되었는지 확인[/caption]
추가: GitKraken에서 불러오기
[caption id=”attachment_2371” align=”alignnone” width=”383”]
Open Repo 기능 실행[/caption]
[caption id=”attachment_2372” align=”alignnone” width=”517”]
remote git 이 있는 폴더로 이동 후 [열기] 클릭[/caption]
This post is licensed under
CC BY 4.0
by the author.




