$ git clone -n https://github.com/xcp-ng-rpms/xapi-storage-script.git /var/lib/mock/v8.1-base-1851-1266/root/chroot_tmpdir/scmroot/xapi-storage-script Cloning into '/var/lib/mock/v8.1-base-1851-1266/root/chroot_tmpdir/scmroot/xapi-storage-script'... $ git reset --hard daf086c4dc22ee32bd3b9bbedbf4727cfd04d5ba Downloading SOURCES/xapi-storage-script-0.33.0.tar.gz (35 KB) HEAD is now at daf086c Import xapi-storage-script-0.33.0-2.el7.centos.src.rpm