$ git clone -n https://github.com/xcp-ng-rpms/kernel-alt.git /var/lib/mock/v8.1-base-2039-1421/root/chroot_tmpdir/scmroot/kernel-alt Cloning into '/var/lib/mock/v8.1-base-2039-1421/root/chroot_tmpdir/scmroot/kernel-alt'... $ git reset --hard a81a17cbce4f2643807409dfac77742b800083a4 Downloading SOURCES/kernel-4.19.19.tar.gz (161 MB) HEAD is now at a81a17c Releasing kernel-alt 4.19.102