$ git clone -n https://gitee.com/coshpr/libxshmfence.git /var/lib/mock/dist-an7_9-updates-build-399118-72063/root/chroot_tmpdir/scmroot/libxshmfence Cloning into '/var/lib/mock/dist-an7_9-updates-build-399118-72063/root/chroot_tmpdir/scmroot/libxshmfence'... $ git fetch origin d37c4da74a200a1162765fef88fb2126a226b8c8:KOJI_FETCH_HEAD From https://gitee.com/coshpr/libxshmfence * [new ref] d37c4da74a200a1162765fef88fb2126a226b8c8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d37c4da import libxshmfence-1.3-2.el8.src.rpm