$ git clone -n https://github.com/xcp-ng-rpms/kernel.git /var/lib/mock/v8.2-testing-2789-2249/root/chroot_tmpdir/scmroot/kernel Cloning into '/var/lib/mock/v8.2-testing-2789-2249/root/chroot_tmpdir/scmroot/kernel'... $ git reset --hard 1b3ebbad33b860ec37e35118f719f0fef696c75d Downloading SOURCES/kernel-4.19.19.tar.gz (161 MB) HEAD is now at 1b3ebba Fix changelog