$ git clone -n https://gitee.com/sys0613/python-schedutils.git /var/lib/mock/dist-an8.7-build-273890-64202/root/chroot_tmpdir/scmroot/python-schedutils Cloning into '/var/lib/mock/dist-an8.7-build-273890-64202/root/chroot_tmpdir/scmroot/python-schedutils'... $ git fetch origin 95b4477c9414b4612e9927a0441c5a8bc5e42a84:KOJI_FETCH_HEAD From https://gitee.com/sys0613/python-schedutils * [new ref] 95b4477c9414b4612e9927a0441c5a8bc5e42a84 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 95b4477 import python-schedutils-0.6-6.el8.src.rpm