$ git clone -n https://github.com/xcp-ng-rpms/xapi-nbd.git /var/lib/mock/v8.2-base-2451-1868/root/chroot_tmpdir/scmroot/xapi-nbd Cloning into '/var/lib/mock/v8.2-base-2451-1868/root/chroot_tmpdir/scmroot/xapi-nbd'... $ git reset --hard 2db9b8727f7c6234520484a5d419cf1ffadb4528 Downloading SOURCES/xapi-nbd-1.11.0.tar.gz (20 KB) HEAD is now at 2db9b87 adapt to PR comments