# learning **Repository Path**: syl1117/learning ## Basic Information - **Project Name**: learning - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-08-31 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## learning ### git的安装配置 - 本地安装 Git ("https://git-scm.com/download") 选择适合自己电脑版本的git版本安装. - git 配置 ``` # 全局配置 1. git config --global user.name "your name" 2. git config --global user.email "your email" # 局部文件配置 1. git config --local user.name "your name" 2. git config --local user.email "your email" ``` - git ssh-key 进行Git服务器对用户电脑进行SSH公钥授权 ``` # 生成公钥 打开 git bash 在控制台输入 ssh-keygen -t ras -C "your email" 此时 c:\Users\"your user name"\.ssh 目录下就生成好了. # 将公钥配置到git服务端 登录github或者gitlab或者gitee. 打开setting -> setting -> SSH keys,把生成好的公钥(is_ras.pub)里面的内容复制放进key输入框中,并起一个title来区分每个key ```