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