# 目录
# git 从这里开始
Learn Git Branching (opens new window)
# Github
Github 镜像资源
1.GitHub 镜像访问
这里提供两个最常用的镜像地址(别登录账号):
https://github.com.cnpmjs.org (opens new window)
https://hub.fastgit.org (opens new window)
也就是说上面的镜像就是一个克隆版的Github,你可以访问上面的镜像网站,网站的内容跟Github是完整同步的镜像,然后在这个网站里面进行下载克隆等操作。
2.GitHub文件加速 利用 Cloudflare Workers 对 github release 、archive 以及项目文件进行加速,部署无需服务器且自带CDN. https://gh.api.99988866.xyz (opens new window) https://ghproxy.com/ (opens new window) 以上网站为演示站点,如无法打开可以查看开源项目:gh-proxy-GitHub 文件加速自行部署。
3.Github 加速下载 只需要复制当前 GitHub 地址粘贴到输入框中就可以代理加速下载! 地址:http://toolwa.com/github/ (opens new window)
原文:https://blog.rain888.cn/archives/130.html (opens new window)
https://www.runoob.com/git/git-add.html (opens new window)
# 个人博客 vuepress 提交批处理
# 推送p.bat
@echo off
set /p c= git comment(不要有空格,n退出):
if %c%==n goto exitcmd
echo on
call npm run build # 生成静态文件
@Rem call git init
call git add -A
call git commit -m %c%
call git push https://gitee.com/xxxx/xxxx.git master:gh-pages-src
cd docs/.vuepress/dist
call git init
call git add -A
git commit -m %c%
call git push -f https://gitee.com/xxxx/xxxx.git master:gh-pages
cd ../../../
start chrome.exe https://gitee.com/XXXX/XXXX/pages
:exitcmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18