$ git clone -n https://github.com/xcp-ng-rpms/kpatch.git /var/lib/mock/v8.1-base-1771-1226/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/v8.1-base-1771-1226/root/chroot_tmpdir/scmroot/kpatch'... $ git reset --hard d021ab4a82bbc2f7a4b32ffdf2d2f5ff81cdde5e Downloading SOURCES/kpatch-0.6.2.tar.gz (152 KB) HEAD is now at d021ab4 Merge branch 'XS-8.0'