$ git clone -n https://gitee.com/mgb01105731/avahi_2.git /var/lib/mock/dist-an23-build-152953-58076/root/chroot_tmpdir/scmroot/avahi_2 Cloning into '/var/lib/mock/dist-an23-build-152953-58076/root/chroot_tmpdir/scmroot/avahi_2'... $ git reset --hard 98f88fc2f0c5adc93a167b91c4d28d492a60f2c4 HEAD is now at 98f88fc optimise spec file & add doc package