$ git clone -n https://gitee.com/src-anolis-os/system-lsb.git /var/lib/mock/dist-an8.9-build-403200-72401/root/chroot_tmpdir/scmroot/system-lsb Cloning into '/var/lib/mock/dist-an8.9-build-403200-72401/root/chroot_tmpdir/scmroot/system-lsb'... $ git reset --hard origin/a8 HEAD is now at f6c5fb9 obsoletes redhat-lsb