$ git clone -n https://github.com/xcp-ng-rpms/sm.git /var/lib/mock/v8.3-incoming-7587-21364/root/chroot_tmpdir/scmroot/sm Cloning into '/var/lib/mock/v8.3-incoming-7587-21364/root/chroot_tmpdir/scmroot/sm'... $ git reset --hard 631e37f62fbb40fcf4ece246d7cff293aff15de2 Downloading SOURCES/sm-3.2.3.tar.gz (364 KB) HEAD is now at 631e37f Release 3.2.3-1.14