$ git clone -n https://gitee.com/linx-fxli/test-rpm /var/lib/mock/dist-an7_9-updates-build-175893-52034/root/chroot_tmpdir/scmroot/test-rpm Cloning into '/var/lib/mock/dist-an7_9-updates-build-175893-52034/root/chroot_tmpdir/scmroot/test-rpm'... $ git reset --hard 9b58a261ffba457ad2434ada195f16294f67394a HEAD is now at 9b58a26 update hello.spec.