zoukankan      html  css  js  c++  java
  • git 常用命令操作

    目录

    一、用户和邮箱

        用户和邮箱的作用

        查看用户名和邮箱地址

        修改用户名和邮箱地址

    1. 用户名和邮箱地址的作用

      用户名和邮箱地址是本地git客户端的一个变量,不随git库而改变。

      每次commit都会用用户名和邮箱纪录。

      github的contributions统计就是按邮箱来统计的。

    • 查看用户名和邮箱地址

      $ git config user.name
      
      $ git config user.email
    • 修改用户名和邮箱地址:

    • $ git config --global user.name "username"
      
      $ git config --global user.email "email"
  • 相关阅读:
    hud 1397
    hdu 1211
    hdu 1124
    hdu 1104
    1788
    hdu 1796
    sdut 2169
    hdu 1019
    $http post 取不到数据
    sql
  • 原文地址:https://www.cnblogs.com/dqh94/p/8592670.html
Copyright © 2011-2022 走看看