$ git clone -n https://github.com/xcp-ng-rpms/sm-cli.git /var/lib/mock/v8.1-base-1817-1249/root/chroot_tmpdir/scmroot/sm-cli Cloning into '/var/lib/mock/v8.1-base-1817-1249/root/chroot_tmpdir/scmroot/sm-cli'... $ git reset --hard f67406a63d540ab372784a7a0d1d08000634475a Downloading SOURCES/sm-cli-0.23.0.tar.gz (18 KB) HEAD is now at f67406a Import sm-cli-0.23.0-3.el7.centos.src.rpm