# git push master:dev 出现报错
ssh: Could not resolve hostname master: nodename nor servname provided, or not known
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
解决方案
rm -rf .git
git init .
git remote add origin git@github.com:<username>/demo_app.git
git commit --allow-empty -m 'First commit'
git push origin master
网友评论