$ git clone -n https://gitee.com/fundawang/dnf.git /var/lib/mock/dist-an23-build-264988-63986/root/chroot_tmpdir/scmroot/dnf Cloning into '/var/lib/mock/dist-an23-build-264988-63986/root/chroot_tmpdir/scmroot/dnf'... $ git reset --hard 069a1ec8de1bb94024d549c39e06583e5d1c19fd HEAD is now at 069a1ec 4.15.1