$ git clone -n https://gitee.com/src-anolis-sig/polardb.git /var/lib/mock/dist-an23-build-264146-63943/root/chroot_tmpdir/scmroot/polardb Cloning into '/var/lib/mock/dist-an23-build-264146-63943/root/chroot_tmpdir/scmroot/polardb'... $ git reset --hard origin/a23 HEAD is now at 4437a59 !1 init pacakge from upstream * init package * init