$ git clone -n https://gitee.com/src-anolis-os/osbuild.git /var/lib/mock/dist-an8-build-63725-35739/root/chroot_tmpdir/scmroot/osbuild Cloning into '/var/lib/mock/dist-an8-build-63725-35739/root/chroot_tmpdir/scmroot/osbuild'... $ git reset --hard origin/a8 HEAD is now at c96332a update to osbuild-35-3.el8