$ git clone -n https://gitee.com/happy_orange/libmpeg2.git /var/lib/mock/dist-an8-epao-build-420703-72894/root/chroot_tmpdir/scmroot/libmpeg2 Cloning into '/var/lib/mock/dist-an8-epao-build-420703-72894/root/chroot_tmpdir/scmroot/libmpeg2'... $ git fetch origin 003dfb66147c0b9732c70eb9bee28139e09bd28a:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/libmpeg2 * [new ref] 003dfb66147c0b9732c70eb9bee28139e09bd28a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 003dfb6 import libmpeg2-0.5.1-18.el8.src.rpm