$ git clone -n https://gitee.com/opencloudos-stream/squid.git /var/lib/mock/dist-ocs23-build-64971-3006/root/chroot_tmpdir/scmroot/squid Cloning into '/var/lib/mock/dist-ocs23-build-64971-3006/root/chroot_tmpdir/scmroot/squid'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/squid * [new ref] HEAD -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4f094e2 Rebuilt for OpenCloudOS Stream 23.09