$ git clone -n https://github.com/xcp-ng-rpms/xapi.git /var/lib/mock/v8.1-testing-2138-1668/root/chroot_tmpdir/scmroot/xapi Cloning into '/var/lib/mock/v8.1-testing-2138-1668/root/chroot_tmpdir/scmroot/xapi'... $ git reset --hard 6fabe7c1e632820f781ffeae94ca1ed36b51f37a Downloading SOURCES/xen-api-1.214.1.tar.gz (1.5 MB) HEAD is now at 6fabe7c Do not throw when new params are misused to keep compatibility with API clients (#11)