thomasJang / react-calculator

DEMO :
https://thomasjang.github.io/react-calculator/
4 stars 11 forks source link

Github를 이용한 호스팅관련 질문드립니다. #1

Open JeonHyungJin opened 5 years ago

JeonHyungJin commented 5 years ago

안녕하세요. 금일 좋은 강의 감사드립니다. 다름이 아니라 Calculator파일에 대해서 수정을 완료하고 기존의 Fork한 project에 대해서 제대로 올라가지 않아서 새로운 Repository를 만들어서 수정한 프로젝트 전체를 다시 push한 상태입니다. 그 후

npm i gh-pages

명령어를 실행 하면 되었다는 것으로 기억을 하고 있는데 이것을 되는 것이 아닌가요? 아니면 자료 ppt에서 마지막장에 있는 부분의

"homepages" : ~~`

부분을 직접 입력하는 과정이 더 필요한 것인가요? 계산기 작성은 완료하였는데 어떻게 해야 할지 몰라서 질문드립니다!

현재 계산기 코드를 작성하고 올려놓은 Repository입니다.

thomasJang commented 5 years ago

일단 https://github.com/JeonHyungJin/react_app_calculator/tree/master/first-react-app https://github.com/JeonHyungJin/react_app_calculator/tree/master/first-react-app 여기안에 있는 내용만 올려야 되겠습니다.

https://github.com/thomasJang/react-calculator https://github.com/thomasJang/react-calculator 여기 소스를 참고하여 해보세요. 화이팅.

Thomas Jang tom@axisj.com https://github.com/thomasJang

      1. 오후 10:45, HyungjinJeon notifications@github.com 작성:

안녕하세요. 금일 좋은 강의 감사드립니다. 다름이 아니라 Calculator파일에 대해서 수정을 완료하고 기존의 Fork한 project에 대해서 제대로 올라가지 않아서 새로운 Repository를 만들어서 수정한 프로젝트 전체를 다시 push한 상태입니다. 그 후

npm i gh-pages 명령어를 실행 하면 되었다는 것으로 기억을 하고 있는데 이것을 되는 것이 아닌가요? 아니면 자료 ppt에서 마지막장에 있는 부분의

"homepages" : ~~` 부분을 직접 입력하는 과정이 더 필요한 것인가요? 계산기 작성은 완료하였는데 어떻게 해야 할지 몰라서 질문드립니다!

현재 계산기 코드를 작성하고 올려놓은 Repository https://github.com/JeonHyungJin/react_app_calculator입니다.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/thomasJang/react-calculator/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AFnL5loXL5A69P9m_iPbbFuWuamyI7afks5urEyKgaJpZM4YLrlw.

JeonHyungJin commented 5 years ago

해당 부분만 Github에 다시 올리려고 하고 있는데 해당 폴더 부분만 복사를 해서 다른 새로운 폴더에 넣고 새로운 repository를 만들고 remote add까지하고나서

git add .

를 진행하면

The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in node_modules/antd/es/calendar/locale/sk_SK.d.ts.
The file will have its original line endings in your working directory.

와 같은 오류가 뜨는데 이를 해결하기 위해서 기존에 같은 오류가 생겼을때 해결하던 방식인

git config core.autocrlf tue

를 실행한 후에도 계속적으로 이 문제가 발생해서 해당 파일을 repository에 올리지 못하고 있습니다. 이 문제는 어떻게 해결을 해야 할까요...?

thomasJang commented 5 years ago

node_modules 폴더가 .gitIgnore 되면 괜찮을 것 같은생각이 드네요.

Thomas Jang tom@axisj.com https://github.com/thomasJang

      1. 오후 11:28, HyungjinJeon notifications@github.com 작성:

해당 부분만 Github에 다시 올리려고 하고 있는데 해당 폴더 부분만 복사를 해서 다른 새로운 폴더에 넣고 새로운 repository를 만들고 remote add까지하고나서

git add . 를 진행하면

The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in node_modules/antd/es/calendar/locale/sk_SK.d.ts. The file will have its original line endings in your working directory. 와 같은 오류가 뜨는데 이를 해결하기 위해서 기존에 같은 오류가 생겼을때 해결하던 방식인

git config core.autocrlf tue 를 실행한 후에도 계속적으로 이 문제가 발생해서 해당 파일을 repository에 올리지 못하고 있습니다. 이 문제는 어떻게 해결을 해야 할까요...?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/thomasJang/react-calculator/issues/1#issuecomment-435397976, or mute the thread https://github.com/notifications/unsubscribe-auth/AFnL5vtvknis-W1weoY6jsTYCFTmFW13ks5urFacgaJpZM4YLrlw.