Git 整理
git 远程库
代码推送至远程仓库
1git push origin HEAD:refs/for/sandbox/zengruihua/master
远程最新的 commit 以 rebase 的方式同步到本地
1git pull --rebase
使用命令时必须保持本地目录干净(不能有modified文件,可以存在untracked文件)
拉取远程库要想有远程库信息,需要使用git clone ...
利用Github Actions实现自动部署
本文参考
GitHub Actions 来自动部署 Hexo
用GitHub Actions 自动部署 Hexo博客
Hexo 部署在Hexo中,以往的部署通常都需要通过命令
123hexo clean # 清空静态页面(public文件夹)hexo g # 创建静态页面hexo d # 发布页面:清空.deploy_git/里文件,从public/复制新生成的文件
在实现自动部署之前,hex ...
Github-stars
Github上star的项目分类StyleGanDesinging an Encoder for StyleGAN Image ManipulationEncoding in Style: a StyleGAN Encoder for Image-to-Image TranslationFace Identity Disentanglement via Latent Space MappingOn ...
Github/Git 相关问题
解决git clone 速度慢的问题利用国内镜像替换
github.com.cnpmjs.orggit.sdut.me
方法
#我们准备clone的链接git clone https://github.com/example#使用镜像git clone https://github.com.cnpmjs.org/example
git push时登录显示密码错误依次进入界面
全部勾选并生成 ...