$ git clone -n https://gitee.com/yujilang/prefixdevname.git /var/lib/mock/dist-an8.6-build-110982-45849/root/chroot_tmpdir/scmroot/prefixdevname Cloning into '/var/lib/mock/dist-an8.6-build-110982-45849/root/chroot_tmpdir/scmroot/prefixdevname'... $ git reset --hard 05f5ee6d0273d7459cbe8850da630b8c45349d00 HEAD is now at 05f5ee6 import prefixdevname-0.1.0-6.el8.src.rpm