$ git clone -n https://gitee.com/Weisson/leapp-repository.git /var/lib/mock/dist-an8.6-build-181439-59745/root/chroot_tmpdir/scmroot/leapp-repository Cloning into '/var/lib/mock/dist-an8.6-build-181439-59745/root/chroot_tmpdir/scmroot/leapp-repository'... $ git reset --hard eb20d231bfa708acea382aa7cbaf89c8328cbecc HEAD is now at eb20d23 initramfs will be stored at /boot/ by default.