$ git clone -n https://github.com/xcp-ng-rpms/xapi.git /var/lib/mock/v8.2-incoming-5236-7257/root/chroot_tmpdir/scmroot/xapi Cloning into '/var/lib/mock/v8.2-incoming-5236-7257/root/chroot_tmpdir/scmroot/xapi'... $ git reset --hard dc5b51b6e319a6c0891536c0e464b617122c1a10 Downloading SOURCES/xen-api-1.249.32.tar.gz (1.6 MB) HEAD is now at dc5b51b Update patches for archive v1.249.32