$ git clone -n https://gitee.com/mgb01105731/leapp_1.git /var/lib/mock/dist-an7_9-updates-build-121268-45999/root/chroot_tmpdir/scmroot/leapp_1 Cloning into '/var/lib/mock/dist-an7_9-updates-build-121268-45999/root/chroot_tmpdir/scmroot/leapp_1'... $ git reset --hard c1868c8de7a0e5ae49beb9dee23861255d9f9d3f HEAD is now at c1868c8 add --disablerepo option to upgrade kernel to RHCK