$ git clone -n https://gitee.com/src-anolis-os/gdbm.git /var/lib/mock/dist-an23-build-78765-40626/root/chroot_tmpdir/scmroot/gdbm Cloning into '/var/lib/mock/dist-an23-build-78765-40626/root/chroot_tmpdir/scmroot/gdbm'... $ git reset --hard origin/a23 HEAD is now at d3f7ad9 Init version from upstream v1.23