$ git clone -n https://gitee.com/aixan/smartmontools.git /var/lib/mock/dist-an8.6-build-102584-45598/root/chroot_tmpdir/scmroot/smartmontools Cloning into '/var/lib/mock/dist-an8.6-build-102584-45598/root/chroot_tmpdir/scmroot/smartmontools'... $ git reset --hard 2ea4cde8d32a997459d2b95d02b2c56f42de1d81 HEAD is now at 2ea4cde update to smartmontools-7.1-1.el8.src.rpm