$ git clone -n https://gitee.com/chen_yu_ao/attr.git /var/lib/mock/dist-an8.6-build-163121-58660/root/chroot_tmpdir/scmroot/attr Cloning into '/var/lib/mock/dist-an8.6-build-163121-58660/root/chroot_tmpdir/scmroot/attr'... $ git reset --hard ade3cbd2cc1cebf17d4c35561607b5d71a923824 HEAD is now at ade3cbd optimise spec file