git提交文本或者word到git教程,git创建仓库时候自带

在这里插入图片描述
简易的命令行入门教程:
Git 全局设置:

git config --global user.name “XX”
git config --global user.email “XXX@qq.com”
创建 git 仓库:

mkdir test
cd test
git init
touch README.md
git add README.md
git commit -m “first commit”
git remote add origin https://gitee.com/XXX/XX.git
git push -u origin “master”
已有仓库?

cd existing_git_repo
git remote add origin https://gitee.com/XXX/XX.git
git push -u origin “master”