Git安装配置
来源:互联网 发布:逆袭网络剧06在线观看 编辑:程序博客网 时间:2024/06/07 00:54
Linux版本:CentOS 6.5 64位
1.删除原有git
yum remove git
2.下载源码并解压
wget https://www.kernel.org/pub/software/scm/git/git-2.9.4.tar.gztar -zxvf git-2.9.5.tar.gz
3.编译安装
cd git-2.9.5make prefix=/usr/local/git allmake prefix=/usr/local/git installecho "export PATH=$PATH:/usr/local/git/bin" >> /etc/bashrcsource /etc/bashrc
4.配置用户名及邮箱
git config --glocal user.name 用户名git config --glocal user.email 用户邮箱
5.创建仓库
#适当位置建立仓库mkdir repo#初始化git仓库git init
阅读全文
0 0
- Git 安装和配置
- Git安装与配置
- git安装和配置
- git的安装配置
- GIT安装和配置
- git安装和配置
- Git安装与配置
- Git 安装和配置
- git安装配置
- Git 安装配置
- Git安装与配置
- 安装和配置git
- Git环境安装配置
- git安装与配置
- Git安装配置
- Git安装与配置
- Git安装及配置
- git常用命令--安装配置
- No transaction is currently active问题
- 信贷分控的九个维度
- Tomcat部署的方式
- MATLAB中mean的用法
- 从零开始写聊天机器人
- Git安装配置
- Algorithm-week16
- 运算符重载的俩边为不同类的对象
- 菜鸟学习之路------学习DNS的配置(LINUX)
- BZOJ1081(SCOI2005)[超级格雷码]--找规律+暴搜
- 多种方法模拟估计值(蒙特卡罗)
- 机器学习总结(二)——逻辑斯谛回归和最大熵模型
- 机器学习算法工程师面试总结
- MVC学习笔记四:利用Entity Framework调用存储过程