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