美文网首页
Ubuntu中Git配置

Ubuntu中Git配置

作者: 忆卿 | 来源:发表于2017-03-20 10:11 被阅读11次

安装Git:

sudo apt-get update 获得最近的软件包的列表;

sudo apt-get install git

测试是否安装成功:git  --version

Git的基本配置

git config --global user.name "Your Name Here"

git config --global user.email your_email@example.com

查看已有的配置信息:git config --list

相关文章

网友评论

      本文标题:Ubuntu中Git配置

      本文链接:https://www.haomeiwen.com/subject/utebnttx.html