[Blog] edit git blog to the other local computer
Git bash 설정
-
다운로드 받고 싶은 상위 폴더에 git bash로 접속한다.
-
git clone https://github.com/2meu/2meu.github.io
-
cd 2meu.github.io하면 자동으로 remote 되어있는 2meu.github.io file이 local에 생성 되었다.
Ruby prompt
1. 의존성 갖는 패키지 설치
cd 2meu.github.iogem install jekyllgem install minimagem install jekyll-feedgem install tzinfo-data
2. 인코딩 문제
chcp 65001bundle exec jekyll serve(bundle exec 안하면 에러 발생)- 이제 local로(localhost:4000) 바로 확인하면서 블로그를 편집하고 git add - commit - push로 관리 해준다.
Leave a comment