当使用git出现错误 upstream git repository时怎么办?

2023年 11月 30日 43.4k 0

  1. 执行如下命令添加 openGauss 社区 blog 仓为 upstream。

    git remote add upstream https://gitee.com/opengauss/blog.git

  2. 执行如下命令查看是否 origin 和远程 upstream 都已添加。

    $ git remote -v
    origin https://gitee.com/zcp100_zcp100/blog.git (fetch)
    origin https://gitee.com/zcp100_zcp100/blog.git (push)
    upstream https://gitee.com/opengauss/blog.git (fetch)
    upstream https://gitee.com/opengauss/blog.git (push)

    如果显示以上结果 ,表明都已添加。可执行 commit 提交文档。

相关文章

Oracle如何使用授予和撤销权限的语法和示例
Awesome Project: 探索 MatrixOrigin 云原生分布式数据库
下载丨66页PDF,云和恩墨技术通讯(2024年7月刊)
社区版oceanbase安装
Oracle 导出CSV工具-sqluldr2
ETL数据集成丨快速将MySQL数据迁移至Doris数据库

发布评论