$ git clone -n https://github.com/xcp-ng-rpms/sm.git /var/lib/mock/v8.3-base-4130-4003/root/chroot_tmpdir/scmroot/sm Cloning into '/var/lib/mock/v8.3-base-4130-4003/root/chroot_tmpdir/scmroot/sm'... $ git reset --hard 36a7e4027d0b8a155653ce896f63fcaf24741c28 Downloading SOURCES/sm-2.46.11.tar.gz (332 KB) HEAD is now at 36a7e40 Update release for new build