$ git clone -n https://gitee.com/src-anolis-os/SDL.git /var/lib/mock/dist-an8-build-74574-39097/root/chroot_tmpdir/scmroot/SDL Cloning into '/var/lib/mock/dist-an8-build-74574-39097/root/chroot_tmpdir/scmroot/SDL'... $ git reset --hard origin/a8 HEAD is now at 6e39be3 update to SDL-1.2.15-39.el8.src.rpm