zoukankan      html  css  js  c++  java
  • 更改GIT版本

    wget https://codeload.github.com/git/git/tar.gz/v2.13.0-rc1                   下载git版本:下载到/opt目录

    mv v2.13.0-rc1 v2.13.0-rc1.tar.gz                                                          为下载的版本改名

    tar -zxvf v2.13.0-rc1.tar.gz                                                                     解压压缩包

    cd git-2.13.0-rc1                                                                                    进入到解压的文件

    yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker               安装依赖

    yum remove git                                                                                     卸载旧的git版本

    make prefix=/usr/local/git all                                                                编译git源码

    make prefix=/usr/local/git install                                                          安装git至/usr/local/git路径

    vim /etc/profile                                                                                      配置环境变量

    PATH=$PATH:/usr/local/git/bin
    export PATH                                                                                        在底部加上git相关配置

    source /etc/profile                                                                               刷新

    git --version                                                                                        查看git版本

    详情查看             https://zhuanlan.zhihu.com/p/52436538

  • 相关阅读:
    spring boot整合mybatis+mybatis-plus
    Spring Boot Shiro 权限管理
    Spring Boot 热部署(转)
    SpringBoot 使用yml配置 mybatis+pagehelper+druid+freemarker实例
    详解Spring Boot配置文件之多环境配置
    Java 泛型-泛型类、泛型方法、泛型接口、通配符、上下限
    mybatis中整合ehcache缓存框架的使用
    Java总结篇系列:Java泛型
    java中接口之间的继承
    Java中接口继承泛型接口
  • 原文地址:https://www.cnblogs.com/wbf980728/p/13873152.html
Copyright © 2011-2022 走看看