$ git clone -n https://github.com/xcp-ng-rpms/vdo.git /var/lib/mock/v8.0-vdo-1527-895/root/chroot_tmpdir/scmroot/vdo Cloning into '/var/lib/mock/v8.0-vdo-1527-895/root/chroot_tmpdir/scmroot/vdo'... $ git reset --hard d0d31c07d5c94dcf4ef79013df48e4eba7454bea Downloading SOURCES/vdo-6.2.1.134.tar.gz (723 KB) HEAD is now at d0d31c0 Import vdo-6.2.1.134 from upstream, with adapted specfile