合并其他分支的commit到当前分支
合并其他分支的commit到当前分支
# 一次合并一个或多个提交记录 $ git cherry-pick <hash a> <hash b> # 按照提交记录区间合并代码. 必须按照正确的顺序放置:提交 hashA 必须早于提交 hashB,否则命令将失败,但不会报错。 ### 注意,在git中,区间为左开右闭。使用下面的命令,提交 h ...
ansible 超详细讲解[值得收藏]
ansible 超详细讲解[值得收藏]
ansible安装 yum install python39 -y pip3.9 install ansible # 查看版本 ansible --version ansible配置 mkdir /etc/ansible # 此处根据安装的 ansible 版本进行修改 # wget -O ...
MacOS docker desktop 替代之 docker-ce
MacOS docker desktop 替代之 docker-ce
服务端 安装docker-ce yum install -y yum-utils yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/fedora/docker-ce.repo 启动服务 syst ...
centos7安装高可用k8s集群
centos7安装高可用k8s集群
一、环境准备 1 主机准备 主机 Ip主机名主功能10.200.20.116master01etcd,apiserver,controller-manager,scheduler,docker,proxy10.200.20.117master02etcd,apiserver,controller ...
实战之源码编译MySQL5.7并支持mroonga
实战之源码编译MySQL5.7并支持mroonga
编译mysql5.7 expanded-from-macro-MYSQLVERSIONMAJOR > https://lequ7.com/guan-yu-shu-ju-ku-mysql-yuan-ma-yue-du-wen-ti-expandedfrommacromysqlversionmajo ...
实战之给博客加全文索引
实战之给博客加全文索引
卸载 systemctl stop mariadb mv /etc/my.cnf /etc/my.cnf.bak yum remove mariadb mariadb-server 升级 cat /etc/yum.repos.d/mariadb.repo # MariaDB 10.5 Ce ...
MacOS docker desktop 替代之 Podman
MacOS docker desktop 替代之 Podman
安装虚拟机 # 本机运行 brew install multipass --cask # 创建一个虚拟机 multipass launch -c 2 -d 20G -m 2G -n podman 20.04 # 启动虚拟机 multipass shell podman 虚拟机运行 sudo ...
git 常用的分支操作
git 常用的分支操作
pull 远程所有分支代码到本地 git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done git fetch --all git pul ...
k8s 1.18.x 部署fission(serverless)
k8s 1.18.x 部署fission(serverless)
部署环境 System: centos 7 Kubernetes: 1.18.6 我看fission 1.15.0需要k8s 1.19.x及更高的版本,由于我本地只有k8s 1.18.6版,所有只能使用fission 1.14.1版本 安装fission # kubectl create ...
k8s证书过期/使用100年证书
k8s证书过期/使用100年证书
常见问题 大概的错误提示:certificate has expired or is not yet valid,生成时间更长的有效期,保证证书不会在短时间失效,如果有必要的话,也可以做相应的监控告警。 单机和集群更新证书,都是在所有master上执行后面的的几个步骤。 如果证书已经过期,可以使 ...
zhr

张文兵

90后程序员

 湖南 - 长沙



友情链接