$ git clone -n https://gitee.com/aixan/man-db.git /var/lib/mock/dist-an8.6-build-94424-45467/root/chroot_tmpdir/scmroot/man-db Cloning into '/var/lib/mock/dist-an8.6-build-94424-45467/root/chroot_tmpdir/scmroot/man-db'... $ git reset --hard c9c83d5c0af70e1468f9cdfadbea2e43b5d04972 HEAD is now at c9c83d5 update to man-db-2.7.6.1-18.el8