首页 > 解决方案 > “开发”似乎不是 git 存储库

问题描述

我已经编辑了本地存储库中的最后一个提交,现在想在 branch 上在线上传它develop。我的项目是https://github.com/JonkiPro/popcorn/tree/develop

当我使用命令时

git push --force develop

收到消息

Jonatan@Jonki-PC MINGW64 ~/Documents/GitHub/popcorn (develop)
$ git push --force develop
fatal: 'develop' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

标签: git

解决方案


git push --force origin develop

推送到存储库develop分支。origin


推荐阅读