$ git clone -n https://gitee.com/src-anolis-os/prefixdevname.git /var/lib/mock/dist-an23-build-80115-40910/root/chroot_tmpdir/scmroot/prefixdevname Cloning into '/var/lib/mock/dist-an23-build-80115-40910/root/chroot_tmpdir/scmroot/prefixdevname'... $ git reset --hard origin/a23 HEAD is now at c855f79 fix cast failed