$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-plus/centos-release /var/lib/mock/dist-an8-build-26345-14702/root/chroot_tmpdir/scmroot/centos-release Cloning into '/var/lib/mock/dist-an8-build-26345-14702/root/chroot_tmpdir/scmroot/centos-release'... $ git reset --hard origin/a8.2 HEAD is now at cec5fa2 import centos-release-8.2-2.2004.0.2.el8.src.rpm