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