1.配置用户信息
git config --global user.name "BXDM"
git config --global user.email 2229545945@qq.com
git config --list #检查信息
2.在本地创建仓库
git init
3.在远程创建repository (backup)
4.添加远程仓库
git remote add backup https://github.com/BXDM/backup.git
5.获取远程仓库
git fetch backup
6.推送文件
git add gitConfig.sh 提交暂存
git commit -m new
git push backup master
输入github用户名和登录密码
提交成功