Git_12.25
復習命令
1.設置用戶名 git config --global user.name '' 2.設置用戶名郵箱 git config --global user.email '' 3.查看設置 git config --list//創建 mkdir test cd test pwd git init touch a1.php git status git add a1.php git commit -m 'add a1.php'//修改 vi a1.php//刪除 rm -rf a1.php git rm a1.php git commit -m '提交描述'//遠程操作 git clone https://github.com/a1678019300/test.git git pushGithub Pages 搭建網站
個人站點
訪問
https;//用戶名.github.io
搭建步驟
1)創建個人站點 ->新建倉庫(注意:倉庫名限定了必須是【用戶名.github.io】)
2)在窗口下新建index.html的文件即可
腳下留心:
github pages 僅支持靜態網頁
倉庫里面只能是html文件
Project Pages 項目站點
訪問
https://用戶名.github.io/倉庫名
搭建步驟
1)進入項目主頁,點擊settings
2)在settings頁面,點擊launch automatic page generator(現在沒有了)
3)新建站點基礎信息設置
4)選擇主題
5)生成網頁
2020.12.15之后的2)、3)在這步驟在這里
先選擇主題,然后點擊
git學習就先告一段落了
總結
- 上一篇: git_12.14
- 下一篇: 菜鸟刚入手Python第一天