$ git clone -n https://gitee.com/yummypeng/dhcp.git /var/lib/mock/dist-an23-build-251809-63444/root/chroot_tmpdir/scmroot/dhcp Cloning into '/var/lib/mock/dist-an23-build-251809-63444/root/chroot_tmpdir/scmroot/dhcp'... $ git reset --hard 71a97d777ed9b910dd56664f5892eb821578c4a0 HEAD is now at 71a97d7 Refactor the specfile and remove devel-doc sub-package