Programming/Git&GitHub
기존 폴더 Github Repository에 올리기
yongj
2019. 12. 19. 12:14
참고
git push, pull (fatal: refusing to merge unrelated histories) 에러
원격 저장소를 remote로 설정하고 바로 push를 하면 몇가지 오류가 발생할 수도 있다. 예를 들어 아래와 같은 오류 메시지이다. 1 2 ! [rejected] master -> master (non-fast-forward) error: failed to push som..
jobc.tistory.com
http://link.koreatech.ac.kr/?p=2852
기존 로컬에 저장된 프로젝트를 Github에 Repository로 등록하기
업로드 할 프로젝트 폴더로 이동 후 git repo 만들기 $ git init 원격 Repo와 연결. 저장소이름을 origin라고 일반적으로 정함 $ git remote add {저장소-이름} 프로젝트 파일 모두 추가 $ git add . 커밋하기 $ git commit -m “{커밋-메시지}” 원격 Repo.의 내용 받아오기 $…
link.koreatech.ac.kr