git 遇到问题总结
git config --global user.name "Flandre-Zhu" git config --global user.email "lightninguzzhu@yandex.com" git init
注意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 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