git 小知识
1 | git format-patch xxxx |
git 基本设置
1 | git config --global core.editor "vim" |
删除分支
git push ygh –delete xxx
更新分支
git remote update origin –prune
gitlab
.gitlab-ci.yml
gitlab-runner6
https://wenku.baidu.com/view/9d65321532126edb6f1aff00bed5b9f3f90f72c5.html
shared runner
问题
- submodule 如果是非public代码,只能在服务器上用gitlab-runner账号,先生成密钥对,然后公钥传到gitlab服务器之后才能正常下载submodule
- 本文作者: crazyboy
- 本文链接: http://crazyboy.www.crazyboy.info/blog/blog/2022/04/13/it/host/git/
- 版权声明: 本博客所有文章除特别声明外,均采用 MIT 许可协议。转载请注明出处!