$ git clone -n https://gitee.com/gaohongmei/libtirpc.git /var/lib/mock/dist-an8.6-build-122852-46000/root/chroot_tmpdir/scmroot/libtirpc Cloning into '/var/lib/mock/dist-an8.6-build-122852-46000/root/chroot_tmpdir/scmroot/libtirpc'... $ git reset --hard fa31aacae41315e09bd0d1796103320c15775cc6 HEAD is now at fa31aac import libtirpc-0.2.4-0.16.el7.src.rpm