write by xdd1997
全局设置 git config --global user.name "xdd1997" git config --global user.email "1837990190@qq.com" 创建Git仓库 mkdir Download cd Download git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/xdd1997/Download.git git push -u origin master 已有仓库 git add . git commit -m "first commit" git push -u origin master
error: Your local changes to the following files would be overwritten by merge”
git reset --hard
git pull