$ git clone -n https://gitee.com/src-anolis-os/docker.git /var/lib/mock/dist-an23.3-riscv-build-445218-73233/root/chroot_tmpdir/scmroot/docker Cloning into '/var/lib/mock/dist-an23.3-riscv-build-445218-73233/root/chroot_tmpdir/scmroot/docker'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/docker * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD Updating files: 92% (12/13) Updating files: 100% (13/13) Updating files: 100% (13/13), done. HEAD is now at 2da1581 Upstream url changed