ununtu14.04安装git
来源:互联网 发布:优圣美算法题 编辑:程序博客网 时间:2024/05/29 02:26
参考教程:git介绍:安装,使用,创建分支
安装的方法有两种,一种直接是通过ubuntu的APT安装,这种方法最简便,缺点是版本可能不是最新的。所有还有另一种方法是下载源码进行安装,这种能安装到想要的版本。这里只说第一种:
步骤:
sudo apt-get updatesudo apt-get install git
然后配置自己的git账号信息,这样才能进行相关的操作:
git config --global user.name "Your Name"git config --global user.email "youremail@domain.com"
可以通过下面的命令查看git的配置信息:
- 1
- 1
显示信息如下:
user.name=Your Name
user.email=youremail@domain.com
这样就表示git的安装告一段落,可以使用git的一些命令了,比如git clone。
sugar@sugar-HP-Pro-2000-Microtower-PC:~/mygit$ git clone https://github.com/NJUOS/LiteNES.git
正克隆到 ‘LiteNES’…
remote: Counting objects: 90, done.
remote: Total 90 (delta 0), reused 0 (delta 0), pack-reused 90
Unpacking objects: 100% (90/90), done.
检查连接… 完成。
成功clone LiteNES到本地,LiteNES是一款用C语言写的MINI版本的NES模拟器。
0 0
- ununtu14.04安装git
- ununtu14安装ipset-6.24
- Ununtu14.04下安装Hadoop2.6.0常见问题解决
- CAFFE安装:UNUNTU14.04.1/CUDA7/OPENCV3.0
- 4、ununtu14.04 NVIDIA显卡驱动
- ununtu14.04下显示器分辨率只有800*600和1024*768
- Ubuntu10.04 Git安装
- Ubuntu14.04 安装git
- ubuntu14.04 安装git
- Ubuntu14.04 安装git
- ubuntu14.04安装git
- ubuntu12.04 git 安装
- Ubuntu16.04 git安装
- Ubuntu14.04 安装git
- Ubuntu12.04下安装Git
- Ubuntu12.04下安装Git
- Ubuntu12.04下安装Git
- ubuntu14.04 安装git服务
- eclipse中导入代码模板
- swift 开源项目
- redux使用心得
- CSS中强大的EM
- 庆幸在最坏的时光里我足够努力!
- ununtu14.04安装git
- tcp 高效传输 留作观摩学习
- [产品经理]产品经理的自我修养
- XCode :7 App installation failed :A valid provisioning profile for this executable was not found
- javascript 模块化
- c++ 服务端 java 客户端 tcp ssl 双向认证
- 逻辑回归算法原理及Spark MLlib调用实例(Scala/Java/python)
- Sql 中常用日期转换Convert(Datetime)
- Shell脚本中的return,exit 0,以及 父进程获取子进程的变量