git - “开发”似乎不是 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 push --force origin develop
推送到存储库的develop
分支。origin
推荐阅读
- if-statement - 是否可以将一个单元格的公式设置为在另一个单元格之前触发?
- java - 聚合中的实体可以移动到 Axon 中的另一个聚合(相同类型)吗
- frontend - Pug 语法中的三元运算符
- python - 从 mdf (python, asammdf) 读取时时间戳未对齐
- collision - 在旋转过程中,身体并排撞到另外两个(错误)
- c# - 为什么我的更新查询在带有 sql server 的 c# 中不起作用?
- openshift - 是否有任何可用于 Grafana 的自定义视图或视图的任何编辑器?
- python - Python按时间间隔执行逻辑
- docker - 如何连接到 Kubernetes Pod 网络?
- python-3.x - 使用 xarray 插入 dataArray 缺失数据