Ubuntu 14 git的使用

来源:互联网 发布:网络拓扑图结构的意义 编辑:程序博客网 时间:2024/06/05 17:35
  1. git的安装与配置

    1. 先更新源,再安装git

      sudo apt-get updatesudo apt-get install git
    2. 初次使用git之前需要配置

      git config --global user.name "Your Name"git config --global user.email "youremail@domain.com"
    3. 可以通过下面的命令查看git的配置信息

      git config --list

      显示信息如下:
      user.name=Your Name
      user.email=youremail@domain.com

0 0
原创粉丝点击