$ git clone -n https://src.fedoraproject.org/rpms/airtsp.git /var/lib/mock/f33-build-539498-65072/root/chroot_tmpdir/scmroot/airtsp Cloning into '/var/lib/mock/f33-build-539498-65072/root/chroot_tmpdir/scmroot/airtsp'... $ git reset --hard debe55e70860fb65d97728fc46b31d115714cdb2 HEAD is now at debe55e Removed the docdir work around (no longer needed)