前提:安装好Git注册好GitHub账号
下载地址:https://git-scm.com/
注册地址:https://github.com/
一、注册账号
A)创建仓库:
B)选Upload files进行文件上传!
C)创建完成
https://www.runoob.com/w3cnote/git-guide.html
二,配置git:用户名和邮箱
cd ~
git config --global user.name “hsx”
git config --global user.email “xxxx@qq.com”
你的文件夹下会有.gitconfig文件
打开后显示一下内容