随笔分类 - git
摘要:目的:在job的script中获取标签的值,方便后面作业 .gitlab-ci.yml文件如下 # 定义 stages stages: - test test_nginx: stage: test tags: - test # only: # refs: # - /^aws/ rules: - if
阅读全文
摘要:一. 使用Git bash操作 1. 准备条件与初始化 新建一个文件夹dm-config cd dm-config #初始化 git init #全局配置添加邮箱和用户名 git config --global user.name "jack" git config --global user.em
阅读全文
摘要:使用云服务器git clone某个项目时,遇到如下问题: fatal: Out of memory, malloc failed (tried to allocate 2000000000 bytes) 百度后找到如下解决方法: sudo mkdir -p /opt/temp sudo dd if=
阅读全文
摘要:一. 图形化git 1.首先下载msysgit,和 tortoisegit, 先装msysgit再装小乌龟 2.运行git按照github上说明生成秘钥对 ssh-keygen -t rsa -C "jinhong@axinfu.com",然后会在指定的目录下生成一个.ssh文件夹 3. 运行小乌龟
阅读全文