$ git clone -n https://gitee.com/gaohongmei/gmp.git /var/lib/mock/dist-an8.6-build-180248-59125/root/chroot_tmpdir/scmroot/gmp Cloning into '/var/lib/mock/dist-an8.6-build-180248-59125/root/chroot_tmpdir/scmroot/gmp'... $ git fetch origin 27f4b08db2c09ac9b3e73086ed5b34f6b321d205:KOJI_FETCH_HEAD From https://gitee.com/gaohongmei/gmp * [new ref] 27f4b08db2c09ac9b3e73086ed5b34f6b321d205 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 27f4b08 headers: make devel usable with the loongarch64