$ git clone -n https://github.com/xcp-ng-rpms/xapi.git /var/lib/mock/v8.2-staging-3081-2585/root/chroot_tmpdir/scmroot/xapi Cloning into '/var/lib/mock/v8.2-staging-3081-2585/root/chroot_tmpdir/scmroot/xapi'... $ git reset --hard 4db5439f1527c6a855c5e964f12740bf602cd426 Downloading SOURCES/xen-api-1.249.9.tar.gz (1.6 MB) HEAD is now at 4db5439 update db hash