$ git clone -n https://gitee.com/aixan/libevent.git /var/lib/mock/dist-an8.6-build-109267-45761/root/chroot_tmpdir/scmroot/libevent Cloning into '/var/lib/mock/dist-an8.6-build-109267-45761/root/chroot_tmpdir/scmroot/libevent'... $ git reset --hard a223e64f63c959d1e08c16bc5cdf1eb370bf519a HEAD is now at a223e64 import libevent-2.1.8-5.el8.src.rpm