$ git clone -n https://github.com/xcp-ng-rpms/xapi.git /var/lib/mock/v8.3-u-brs1-5789-10358/root/chroot_tmpdir/scmroot/xapi Cloning into '/var/lib/mock/v8.3-u-brs1-5789-10358/root/chroot_tmpdir/scmroot/xapi'... $ git reset --hard 21d01017a3bcf743b995fce86a311a1ef00a1dea Downloading SOURCES/xen-api-23.25.0.tar.gz (3.3 MB) HEAD is now at 21d0101 toto