$ git clone -n https://gitee.com/src-anolis-os/libpq.git /var/lib/mock/dist-an23-build-249667-63348/root/chroot_tmpdir/scmroot/libpq Cloning into '/var/lib/mock/dist-an23-build-249667-63348/root/chroot_tmpdir/scmroot/libpq'... $ git reset --hard origin/a23 HEAD is now at d963b45 optimize spec file