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