GIthub学习笔记1

github 原理图

sequenceDiagram local->>staged:stage<br>and commit staged->>github:push

Github page

Relative path is not supported !
You should add https://USERNAME.github.io/REPOSITORY/github in front of your path, and delete the . dot operator.
USERNAME is your github username, REPOSITORY is the repository contains your webpage that you want to show!
for example:

WRONG😢

<script src="./library/xxx.js"></script>

RIGHT😄

<script src="https://USERNAME.github.io/REPOSITORY/library/xxx.js"></script>

and don't forget to add a index.html in https://USERNAME.github.io/REPOSITORY/

posted @ 2021-05-30 15:00  HayekFans  阅读(77)  评论(0)    收藏  举报