$ git clone -n https://gitee.com/src-anolis-os/realmd.git /var/lib/mock/dist-an23-build-84772-42679/root/chroot_tmpdir/scmroot/realmd Cloning into '/var/lib/mock/dist-an23-build-84772-42679/root/chroot_tmpdir/scmroot/realmd'... $ git reset --hard origin/a23 HEAD is now at 76ef236 init from upstream