随笔分类 - Git
摘要:
代码上传 1、初始化仓库 > git init 2、添加远程版本库 > git remote add origin [url] 2.1、拉取远程 README.md 文件,避免出现版本冲突! > git pull origin master --allow-unrelated-histories 3
阅读全文

摘要:
这是没有对项目进行初始化操作导致。 解决办法: 1、找到项目根目录,右键 Git Bash Here 2、输入以下命令进行初始化项目版本: git commit -m "install commit!"
阅读全文

摘要:
找到项目根目录,右键 Git Bash Here 输入: git pull origin master --allow-unrelated-histories < /code > origin:Gitee/GitHub创建的项目名称
阅读全文
