$ git clone -n https://gitee.com/src-anolis-dde/openbox.git /var/lib/mock/dist-an23-dde-build-330783-69475/root/chroot_tmpdir/scmroot/openbox Cloning into '/var/lib/mock/dist-an23-dde-build-330783-69475/root/chroot_tmpdir/scmroot/openbox'... $ git reset --hard origin/a23 HEAD is now at f2e37c1 fix spec version