본문 바로가기

Git

github publishing

1. Branches on Git

branch's concept

평행세계 같은 느낌

- merge current branch

2. Publishing on Gihub Pages

Github에서 특별한 이름으로된 branch를 가지고 있으면 공짜로 Static website를 호스팅을 할 수 있다.

Static website : only work for html, css, javascript (front-end)

 

1) branch 만들기 : "gh-pages"

2) "public" repository 

3) index.html (index.html이 첫페이지여야함)

 

++ 그래도 안될 때!! 파일이름을 맨뒤에 붙여줌

https://yoonbly.github.io/Chrome-app-clone-2021/momentum/