-
Notifications
You must be signed in to change notification settings - Fork 0
Akira2017inFrankfurt/learngit
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
git push -f origin master 关于下面这个错误的解决: ! [rejected] master -> dev (fetch first) error: failed to push some refs to 'https://[email protected]/repo_user/repo_name.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. 地址: https://stackoverflow.com/questions/24357108/git-updates-were-rejected-because-the-remote-contains-work-that-you-do-not-have/42198976#42198976 然后我紧接着又试了一次 发现使用这个命令将代码推送到指定仓库的时候 以前存在的那几个就直接不见了 所以 现在很有必要的就是 看莫烦Python的中间的内容 关键就在分支冲突上 肯定是这个原因引起的
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published