$ git clone -n https://gitee.com/opencloudos-stream/scdoc.git /var/lib/mock/dist-ocs23-rebuild-test-0-build-294325-28533/root/chroot_tmpdir/scmroot/scdoc Cloning into '/var/lib/mock/dist-ocs23-rebuild-test-0-build-294325-28533/root/chroot_tmpdir/scmroot/scdoc'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/scdoc * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 42c2a77 Rebuilt for loongarch release