plan Agit
cd deom
git init
git remote add origin https://gitee.com/demo.git // 你的仓库地址
git add .
git commit -m '备注信息'
git push -u origin master -f // 强制提交
复制代码
plan Aspa
在根目录下新建.gitignore 文件。code
/file/ 忽略文件夹
*.exe 忽略某种类型的文件
/file/fileName.js 忽略指定的文件
复制代码
git pull errorrem
git pull origin master --allow-unrelated-histories
// 设置了默认分支
git pull --allow-unrelated-histories
复制代码
持续更新.....string