$ git clone -n https://gitee.com/src-opencloudos-rpms/postgresql-jdbc.git /var/lib/mock/dist-oc8-build-38297-12367/root/chroot_tmpdir/scmroot/postgresql-jdbc Cloning into '/var/lib/mock/dist-oc8-build-38297-12367/root/chroot_tmpdir/scmroot/postgresql-jdbc'... $ git reset --hard origin/oc8 HEAD is now at c43238e import postgresql-jdbc-42.2.14-2.tl3