$ git clone -n https://gitee.com/lzq11122/php.git /var/lib/mock/dist-an23-build-451378-73479/root/chroot_tmpdir/scmroot/php Cloning into '/var/lib/mock/dist-an23-build-451378-73479/root/chroot_tmpdir/scmroot/php'... $ git fetch origin 979b7e335e2fbdbab45cb150244ab3c893b264f9:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/php * [new ref] 979b7e335e2fbdbab45cb150244ab3c893b264f9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 979b7e3 test