$ git clone -n https://github.com/xcp-ng-rpms/logrotate.git /var/lib/mock/v8.1-base-1952-1336/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/v8.1-base-1952-1336/root/chroot_tmpdir/scmroot/logrotate'... $ git reset --hard 308e1f3deee15455725cac85b4ca990d5f2df044 Downloading SOURCES/logrotate-3.8.6.tar.gz (58 KB) HEAD is now at 308e1f3 Add %dist