git push -u origin master error

git push -u origin master  

错误描述
fatal: repository 'https://github.com/lanczh/trigkit4/guanwang/fullpage/.git/' not found
Username for 'https://github.com': 2500497293@qq.com
To https://github.com/lanczh/AlanCodeGit.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'https://github.com/lanczh/AlanCodeGit.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.


解决方案

解决问题去哪里?

stackoverflow
push: git push -f origin master

posted @ 2017-07-24 15:05  alan-alan  阅读(222)  评论(0编辑  收藏  举报