$ git clone -n https://gitee.com/fundawang/squid.git /var/lib/mock/dist-an23-build-324056-68521/root/chroot_tmpdir/scmroot/squid Cloning into '/var/lib/mock/dist-an23-build-324056-68521/root/chroot_tmpdir/scmroot/squid'... $ git fetch origin 555fa562b8a0d65290fc1124bff2ed3a3649df36:KOJI_FETCH_HEAD From https://gitee.com/fundawang/squid * [new ref] 555fa562b8a0d65290fc1124bff2ed3a3649df36 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 555fa56 6.4