“did you run git update-server-info” error on a Github repository

本文介绍了一种常见的GitHub仓库同步错误及其解决方案。当遇到“did you run git update-server-info error”时,可以通过检查本地仓库配置文件 .git/config 中远程仓库地址是否与实际地址一致来解决问题。

http://stackoverflow.com/questions/9343189/did-you-run-git-update-server-info-error-on-a-github-repository

You might have changed your repository name

In your local repository edit the file:

.git/config

Then check:

[remote "origin"]
   url = 

that the URL matches your remote repository



gapinyc@DESKTOP-9QS7RL5:~/superset-prod$ docker compose build # 重新构建 [+] Building 266.2s (16/25) => [internal] load local bake definitions 0.0s => => reading from stdin 1.61kB 0.0s => [superset-init internal] load build definition from Dockerfile.superset 0.0s => => transferring dockerfile: 3.73kB 0.0s => [superset-init internal] load metadata for docker.io/apache/superset:3.1.0 0.6s => [superset-init internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => CACHED [superset 1/21] FROM docker.io/apache/superset:3.1.0@sha256:afcd2f63479e29da06944087a29e7788f9ecd0250f4611e52aee1c844187e3eb 0.0s => => resolve docker.io/apache/superset:3.1.0@sha256:afcd2f63479e29da06944087a29e7788f9ecd0250f4611e52aee1c844187e3eb 0.0s => [superset-init 2/21] RUN apt-get update && apt-get install -y --no-install-recommends build-essential libssl-dev libffi-dev p 157.2s => [superset-init 3/21] RUN python -m ensurepip --upgrade || (wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py && python /tmp/get-pip.py --user) 2.1s => [superset 4/21] RUN python -m pip --version 0.5s => [superset 5/21] RUN python -m pip install --upgrade pip && python -m pip install "gevent>=21.12.0" psutil pymysql flask-appbui 13.8s => [superset 6/21] RUN python -c "import gevent; print(f'✅ Successfully imported gevent {gevent.__version__}')" 0.4s => [superset-init 7/21] RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor -o /usr/share/keyrings/nodesource-keyring.gpg 0.9s => [superset 8/21] RUN echo "deb [signed-by=/usr/share/keyrings/nodesource-keyring.gpg] https://deb.nodesource.com/node_18.x jammy main" > /etc/apt/sources.list.d/nod 0.2s => [superset 9/21] RUN apt-get update && apt-get install -y nodejs npm && rm -rf /var/lib/apt/lists/* 89.3s => [superset-init 10/21] RUN node --version && npm --version 0.6s => [superset-init 11/21] WORKDIR /tmp/superset-src 0.0s => ERROR [superset-init 12/21] RUN git clone --branch ${SUPERSET_VERSION} https://github.com/apache/superset.git . && echo "✅ Cloned Superset v${SUPERSET_VERSION 0.2s ------ > [superset-init 12/21] RUN git clone --branch ${SUPERSET_VERSION} https://github.com/apache/superset.git . && echo "✅ Cloned Superset v${SUPERSET_VERSION}": 0.214 fatal: repository '.' does not exist ------ Dockerfile.superset:71 -------------------- 70 | # 克隆指定 tag 的 Superset 源码 71 | >>> RUN git clone --branch ${SUPERSET_VERSION} https://github.com/apache/superset.git . && \ 72 | >>> echo "✅ Cloned Superset v${SUPERSET_VERSION}" 73 | -------------------- target superset-init: failed to solve: process "/bin/sh -c git clone --branch ${SUPERSET_VERSION} https://github.com/apache/superset.git . && echo \"✅ Cloned Superset v${SUPERSET_VERSION}\"" did not complete successfully: exit code: 128 gapinyc@DESKTOP-9QS7RL5:~/superset-prod$
10-23
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值