$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/grub2 /var/lib/mock/dist-an8.4-build-25358-14344/root/chroot_tmpdir/scmroot/grub2 Cloning into '/var/lib/mock/dist-an8.4-build-25358-14344/root/chroot_tmpdir/scmroot/grub2'... $ git reset --hard origin/a8 HEAD is now at 992ee7d build: build pc-modules package on x86_64