目录
[二:clone gitee库](#二:clone gitee库)
一:在Linux下安装gitee
bash
yum install git
二:clone gitee库
现在gitee仓库里,找到仓库的https链接

bash
git clone 链接
三:上传文件
bash
git add 文件名
git commit -m 提交日志
git push
第一次上传文件,会让你输入自己gitee的用户名@后面的字符和邮箱
bash
git config --global user.name "Git用户名"
git config --global user.email "Git创建时的邮箱"
查看配置文件(你上传的用户名和文件)
bash
git config -l
删除配置错误的内容
bash
git config --unset (user.name)此处为要删除的配置
--globle: 作用在系统的全局下配置的文件在所有的Git文件中都生效。
我们需要注意这里删除全局的配置文件时也需要加--global,否则删不掉。
bash
git config --global --unset (user.name)此处为要删除的配置