$ git clone -n https://github.com/xcp-ng-rpms/sm.git /var/lib/mock/v8.2-testing-3051-2550/root/chroot_tmpdir/scmroot/sm Cloning into '/var/lib/mock/v8.2-testing-3051-2550/root/chroot_tmpdir/scmroot/sm'... $ git reset --hard b3744b3f77f9a009acd8502969c3c718e0473351 Downloading SOURCES/sm-2.30.3.tar.gz (415 KB) HEAD is now at b3744b3 Update 0009-Fix-regression-added-by-XSI-915.patch (fix regression in the patch itself)