$ git clone -n https://github.com/xcp-ng-rpms/xen-livepatch.git /var/lib/mock/v8.3-u-stormi1-5947-11117/root/chroot_tmpdir/scmroot/xen-livepatch Cloning into '/var/lib/mock/v8.3-u-stormi1-5947-11117/root/chroot_tmpdir/scmroot/xen-livepatch'... $ git reset --hard 7e1b6c4ebc41ae3058d1187ab5f80520e836a738 HEAD is now at 7e1b6c4 Import xen-livepatch-2.0-1.xs8.src.rpm