$ git clone -n https://github.com/xcp-ng-rpms/xapi.git /var/lib/mock/v8.2-base-2712-2162/root/chroot_tmpdir/scmroot/xapi Cloning into '/var/lib/mock/v8.2-base-2712-2162/root/chroot_tmpdir/scmroot/xapi'... $ git reset --hard 2ab8a25c38b645bca2ad272b40e188fd7b70a88e Downloading SOURCES/xen-api-1.249.5.tar.gz (1.6 MB) HEAD is now at 2ab8a25 Adapt patches to xapi v1.249.5 (#21)