git遇到问题
作者:互联网
git 遇到问题总结
初始化
git config --global user.name "Flandre-Zhu"
git config --global user.email "lightninguzzhu@yandex.com"
git init
git push: 找不到库
注意push前要先commit
git remote -v // 查看
git remote rm origin
git remote add origin git@github.com:Flandre-Zhu/sync-files.git
git push origin master
git pull 提示 Your local changes to the following files would be overwritten by merge
git stash
git pull origin master
git stash pop
遇到了奇怪的问题
刷新一下,或者
git remote -v // 查看
git remote rm origin
git remote add origin git@github.com:Flandre-Zhu/sync-files.git
标签:origin,files,git,remote,遇到,Flandre,问题,Zhu 来源: https://www.cnblogs.com/LightningUZ/p/15756445.html