$ git clone -n https://github.com/xcp-ng-rpms/swtpm.git /var/lib/mock/v8.3-testing-4323-4404/root/chroot_tmpdir/scmroot/swtpm Cloning into '/var/lib/mock/v8.3-testing-4323-4404/root/chroot_tmpdir/scmroot/swtpm'... $ git reset --hard c5b4083cd97ce3de59bf0c5e97e376282d4f7518 Downloading SOURCES/swtpm-0.7.3.tar.gz (354 KB) HEAD is now at c5b4083 Import swtpm-0.7.3-2.xs8.src.rpm