$ git clone -n https://gitee.com/src-anolis-os/imath.git /var/lib/mock/dist-an23-build-235725-62777/root/chroot_tmpdir/scmroot/imath Cloning into '/var/lib/mock/dist-an23-build-235725-62777/root/chroot_tmpdir/scmroot/imath'... $ git reset --hard origin/a23 HEAD is now at de834ac Init package from upstream