$ git clone -n https://gitee.com/fundawang/dnf.git /var/lib/mock/dist-an23-build-248055-63239/root/chroot_tmpdir/scmroot/dnf Cloning into '/var/lib/mock/dist-an23-build-248055-63239/root/chroot_tmpdir/scmroot/dnf'... $ git reset --hard 0d4e7aacdb6a416618c4cc0fcd935ee993c6f4af HEAD is now at 0d4e7aa 4.15.0