$ git clone -n https://src.fedoraproject.org/rpms/trademgen.git /var/lib/mock/f33-build-527615-64697/root/chroot_tmpdir/scmroot/trademgen Cloning into '/var/lib/mock/f33-build-527615-64697/root/chroot_tmpdir/scmroot/trademgen'... $ git reset --hard 1bd47625ba84f0d46a0a8767997f44ea3db8b341 HEAD is now at 1bd4762 Removed the docdir work around (no longer needed)