$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/postgresql /var/lib/mock/module-postgresql-9.6-8040020210618040405-5280c3a7-build-25181-13859/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/module-postgresql-9.6-8040020210618040405-5280c3a7-build-25181-13859/root/chroot_tmpdir/scmroot/postgresql'... $ git reset --hard 59d71755e677bc4834573c83587eca1c3e239765 HEAD is now at 59d7175 update to postgresql-9.6.20-1.module+el8.2.0+8939+9a3b4b64.src.rpm