$ git clone -n https://gitee.com/src-opencloudos-rpms/squid.git /var/lib/mock/dist-oc9-build-81595-55394/root/chroot_tmpdir/scmroot/squid Cloning into '/var/lib/mock/dist-oc9-build-81595-55394/root/chroot_tmpdir/scmroot/squid'... $ git fetch origin 3173399b74ea9275c1fbc5645f87afa7026086ad:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/squid * [new ref] 3173399b74ea9275c1fbc5645f87afa7026086ad -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3173399 import squid-6.5-5.tl4