$ git clone -n https://gitee.com/src-anolis-os/compat-glew.git /var/lib/mock/dist-an7-build-60965-33842/root/chroot_tmpdir/scmroot/compat-glew Cloning into '/var/lib/mock/dist-an7-build-60965-33842/root/chroot_tmpdir/scmroot/compat-glew'... $ git reset --hard origin/a7 HEAD is now at b08934e import compat-glew-1.9.0-7.el7.src.rpm