$ git clone -n http://8.131.229.236/anolis-os/grub2 /var/lib/mock/dist-an8-updates-build-17944-8177/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an8-updates-build-17944-8177/root/chroot_tmpdir/scmroot/grub2'... $ git reset --hard origin/a8 HEAD is now at f1f477c build: build pc-modules package on x86_64