$ git clone -n https://gitee.com/mgb01105731/libpq.git /var/lib/mock/dist-an23-build-142678-57615/root/chroot_tmpdir/scmroot/libpq Cloning into '/var/lib/mock/dist-an23-build-142678-57615/root/chroot_tmpdir/scmroot/libpq'... $ git reset --hard 52068d3848fc592160d34c5495f70a7f68ec6f4b HEAD is now at 52068d3 optimise spec file