$ git clone -n https://github.com/xcp-ng-rpms/xengt-userspace.git /var/lib/mock/v8.1-base-1877-1278/root/chroot_tmpdir/scmroot/xengt-userspace Cloning into '/var/lib/mock/v8.1-base-1877-1278/root/chroot_tmpdir/scmroot/xengt-userspace'... $ git reset --hard f346f8b4137330349ce8bc8740e326675a8e7829 HEAD is now at f346f8b Add %dist