随笔分类 - 代码仓库
摘要:初始化本地仓库 git init 设置账户、邮箱 git config --global user.name "test" git config --global user.email "test@zhclyg.com" clone下载 git clone 地址 git add . (-a) git
阅读全文
摘要:gitlab部署 1.安装依赖 yum install -y curl openssh-server openssh-clients postfix cronie policycoreutils-python 2.启动postfix systemctl start postfix systemctl
阅读全文
摘要:```查看版本svnversion --version备份语法:svnadmin hotcopy 项目路径 备份路径还原语法:svnadmin hotcopy 备份路径 项目路径备份svnadmin hotcopy /path/to/repository /path/to/repository-backup.date热备份(没试过)svnadmin hotcopy /path/to/re...
阅读全文
摘要:``` !/bin/bash SRCPATH=/data/svnrepos/softdev/; 定义仓库parent路径 DISTPATH=/data/svnbak/full/ / ; 定义存放路径; DISTPATH2=/data/svnbak/tar/ mkdir p $DISTPATH ech
阅读全文