$ git clone -n https://gitee.com/src-anolis-os/lynx.git /var/lib/mock/dist-an8.7-build-133506-48123/root/chroot_tmpdir/scmroot/lynx Cloning into '/var/lib/mock/dist-an8.7-build-133506-48123/root/chroot_tmpdir/scmroot/lynx'... $ git reset --hard origin/a8 HEAD is now at 6db2a95 spec : Require anolis-indexhtml