$ git clone -n https://gitee.com/Weisson/leapp-repository.git /var/lib/mock/dist-an7_9-updates-build-218969-62048/root/chroot_tmpdir/scmroot/leapp-repository Cloning into '/var/lib/mock/dist-an7_9-updates-build-218969-62048/root/chroot_tmpdir/scmroot/leapp-repository'... $ git reset --hard cba2b8cf9ed113034b51edee2c64f6754314401e HEAD is now at cba2b8c Add RPMDownloadOrInstallError and its exit code.