$ git clone -n https://gitee.com/alpha-wang/libnfs.git /var/lib/mock/dist-an8.9-build-417865-72835/root/chroot_tmpdir/scmroot/libnfs Cloning into '/var/lib/mock/dist-an8.9-build-417865-72835/root/chroot_tmpdir/scmroot/libnfs'... $ git fetch origin 9003dec41f85a4291d9a806344f82df02bdfae8f:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/libnfs * [new ref] 9003dec41f85a4291d9a806344f82df02bdfae8f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9003dec update to libnfs-4.0.0-1.el8.src.rpm