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