$ git clone -n https://gitee.com/gaohongmei/gmp.git /var/lib/mock/dist-an23-build-180264-59132/root/chroot_tmpdir/scmroot/gmp Cloning into '/var/lib/mock/dist-an23-build-180264-59132/root/chroot_tmpdir/scmroot/gmp'... $ git fetch origin 87a052ffe15de536cc2cde53dacf06ec5f81cfb7:KOJI_FETCH_HEAD From https://gitee.com/gaohongmei/gmp * [new ref] 87a052ffe15de536cc2cde53dacf06ec5f81cfb7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 87a052f Cleanup spec for a23 builds