随笔分类 - git
摘要:下载 http://gitblit.github.io/gitblit/ 安装 上传到centos /opt下,解压为 gitblit 进入gitblit/data 修改默认配置文件 default.properties server.httpPort = 8088 #访问端口 server.htt
阅读全文
摘要:git clone 加速 使用git镜像地址 将github.com换成github.com.cnpmjs.org git文件下载加速 通过下方链接,里边有使用说明(或者自行搜索谷歌插件) https://shrill-pond-3e81.hunsh.workers.dev 通过配置host提速 查
阅读全文
摘要:$ git config user.name 查看用户名 $ git config user.email 查看邮箱 $ git config --global user.name "username" 修改用户名 $ git config --global user.email "email" 修改
阅读全文
摘要:版本回退: git reset --hard 139dcfaa558e3276b30b6b2e5cbbb9c00bbdca96 下载历史版本:git checkout b0362a895d39061c0bc6f05c575af47de1b3f702
阅读全文