git 使用 指导网址
https://www.bootcss.com/p/git-guide/?tdsourcetag=s_pcqq_aiomsg
1 首先 傻瓜式 安装 git
2 找一个文件夹 准备 clone 你的项目
3 右键 git Bash Here 点击进入
4 git clone 项目地址 //进入仓库 前提的 仓库管理员同意
// 比如 git clone https://gitee.com/guoxiao158/1611cangku.git
5 然后 cd 进入 你的文件夹 cd + tab
// cd 1611cangku/
6 然后 写入你的文件夹 写入 你要添加的内容
git add ./
7 给你的文件 写入备注
git commit -m “备注”
8 git pull
返回 Already up to date
9 git push
// 出现几行加载的代码 Total 5 (delta 2), reused 0 (delta 0)
remote: Powered By Gitee.com
To https://gitee.com/guoxiao158/1611cangku.git
849cae5…757cfc2 master -> master
// 你成功了
-------------出现的问题-----------
1. please tell me who you are
git config --global user.name "you@example.com"
git config --global user.email "Your Name"
这是在你在第一次 使用 这个git
将 两段代码重新运行下 并 将字符串里面的内容 改成 自己的内容
you@example.com 你注册时 使用的邮箱 。。。。。。@qq.com
Your Name 你注册时 使用的用户名 Timor
2 弹出框
你的用户名
你的密码