git
devops_sre
道
展开
-
git知识与管理
前言… …使用获取指定分支的指定commit id版本git clone [git-url] -b [branch-name]git reset --hard [commit-number]结语… …原创 2021-10-02 09:36:36 · 66 阅读 · 0 评论 -
centos7.x yum源安装git2.x版本
前言不使用ius仓库已不能安装git2.x版本安装安装epel-releaseyum -y install epel-release安装ius仓库cat > /etc/yum.repos.d/ius.repo <<-EOF[ius]name = IUS for Enterprise Linux 7 - $basearchbaseurl = https://repo.ius.io/7/$basearch/enabled = 1repo_gpgcheck = 0gp原创 2020-06-04 20:31:57 · 1346 阅读 · 1 评论