$ git clone -n https://gitee.com/src-anolis-os/libecap.git /var/lib/mock/dist-an23-loongarch-build-327709-69082/root/chroot_tmpdir/scmroot/libecap Cloning into '/var/lib/mock/dist-an23-loongarch-build-327709-69082/root/chroot_tmpdir/scmroot/libecap'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libecap * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aac84ad init upstream from version 1.0.1