美文网首页
Git 基本配置

Git 基本配置

作者: 淡意的温柔丶 | 来源:发表于2019-01-14 11:45 被阅读0次

配置user 信息

$ git config --global user.name ‘your_name’

$ git config --global user.email ‘your_email@domain.com’

清除user信息

$ git config --unset --local user.name

$ git config --unset --global user.name

$ git config --unset --system user.name

显示config 的配置加 --list

$ git config --list --local

$ git config --list --global

$ git config --list --system

 

优先级

local > global > system

相关文章

  • Git 基本使用

    基本配置命令 git config --list或git config -l:查看配置git config --g...

  • git

    基本配置 git config --list 查看配置git config --global user.name=...

  • Git 入门

    Git 下载 windows下载地址 mac下载地址 Git 配置 配置基本信息 这些配置都是在写 ~/.git...

  • Git命令整理

    Git命令 ———————————————— git配置: git基本步骤: git分支管理: 创建分支命令: 切...

  • GIt

    [TOC] 1. git安装与配置 1.1 git安装 搜索git进官网下载,安装即可! 1.2 git基本配置 ...

  • 5. Git, Github, Gitlab

    1. 实验环境 2. Git基本操作 2.1 git安装 2.2 配置git的用户名和邮箱 2.3 验证git配置...

  • 一步一步来,记全Git命令和用法

    Git基本配置 Git配置使用git config分三种,存放在不同位置 首先要配置用户名和邮箱。每次git提交都...

  • Git基本配置

    使用git 初始化一个项目并与github或者码云建立连接 git的安装就不阐述了,window和mac下各有各的...

  • Git基本配置

    一.绑定用户名和邮箱(告诉Git你是谁) git config --global user.name "你的用户名...

  • Git基本配置

    1、配置git: (1)设置用户名称和登录邮箱 git config --global user.name '用户...

网友评论

      本文标题:Git 基本配置

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