Git学习 -- Git 安装
2016-05-12 23:52
288 查看
Windows版本安装:
从https://git-scm.com/download/win下载最新的版本
downloading the latest (2.8.2) 64-bit versionof Git for Windows. This is the most recent maintained
build. It wasreleased 5 days ago, on 2016-05-03.
启动Git Bash后,输入git –version后看到git 的版本,证明git 安装成功。
在正式使用Git前,需要设置一下Git的配置变量:
配置Git当前的用户名和邮件地址,这将在你提交版本库时用到:
git config –global user.name githubusername
git config –global user.email githubuseremail
git config –list 查看配置信息
查看特定的配置可以用类似一下命令:
$ git config user.name
hp
到此为止git安装成功。
Linux安装(Ubuntu 14.04.1):
sudo apt-get install git
配置和window一样。
从https://git-scm.com/download/win下载最新的版本
downloading the latest (2.8.2) 64-bit versionof Git for Windows. This is the most recent maintained
build. It wasreleased 5 days ago, on 2016-05-03.
启动Git Bash后,输入git –version后看到git 的版本,证明git 安装成功。
在正式使用Git前,需要设置一下Git的配置变量:
配置Git当前的用户名和邮件地址,这将在你提交版本库时用到:
git config –global user.name githubusername
git config –global user.email githubuseremail
git config –list 查看配置信息
查看特定的配置可以用类似一下命令:
$ git config user.name
hp
到此为止git安装成功。
Linux安装(Ubuntu 14.04.1):
sudo apt-get install git
配置和window一样。
相关文章推荐
- Hust oj 1123 Grid(组合数||dp)
- 一段snmp代码
- Android 第一次进入App的时候进入引导页面
- 最长无重复字符子串
- 解决building workplace 导致的卡死,使得eclipse加速
- @date2016-05-12 23:44(软件工程男的日常)
- SPOJ GSS5 Can you answer these queries V
- HDU 1176(dp)
- 实验8 201306114104彭得源
- 导入Android Studio 项目报 invalid gradle jdk configuration found
- 柴俊理金:5、12午夜黄金、宁贵沥青操作策略
- 项目supporting Files资源管理几个选项的含义
- C#调用C++导出函数
- 关于跳槽
- 关于import
- 在CMD窗口中使用javac和java命令进行编译和执行带有包名的具有继承关系的类
- [javaSE] 集合框架(TreeSet)
- Lightoj 1104 概率dp
- char * 指向的字符串不能修改
- SPOJ GSS3 Can you answer these queries III