$ git clone -n https://gitee.com/mgb01105731/dhcp_1.git /var/lib/mock/dist-an23-build-156935-58313/root/chroot_tmpdir/scmroot/dhcp_1 Cloning into '/var/lib/mock/dist-an23-build-156935-58313/root/chroot_tmpdir/scmroot/dhcp_1'... $ git reset --hard fc3a58a6f8d52fdefe0195326ecd0c2e8713b47e HEAD is now at fc3a58a optimise spec file