$ git clone -n https://gitee.com/src-anolis-os/anolis-logos.git /var/lib/mock/dist-an23-build-87353-43614/root/chroot_tmpdir/scmroot/anolis-logos Cloning into '/var/lib/mock/dist-an23-build-87353-43614/root/chroot_tmpdir/scmroot/anolis-logos'... $ git reset --hard origin/a23 HEAD is now at f8d6eda remove unnecessary obsoletes and modify for hardlink