$ git clone -n http://8.131.229.236/anolis-os/glew /var/lib/mock/dist-el8-build-8462-1274/root/chroot_tmpdir/scmroot/glew Cloning into '/var/lib/mock/dist-el8-build-8462-1274/root/chroot_tmpdir/scmroot/glew'... $ git reset --hard origin/a8 HEAD is now at 35aa536 import glew-2.0.0-6.el8.src.rpm