$ git clone -n https://src.fedoraproject.org/rpms/qucs.git /var/lib/mock/f45-build-34224-682/root/chroot_tmpdir/scmroot/qucs Cloning into '/var/lib/mock/f45-build-34224-682/root/chroot_tmpdir/scmroot/qucs'... $ git fetch origin f8c46c5f01cd8eebfccedd48320f52c08ca8cd85:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/qucs * [new ref] f8c46c5f01cd8eebfccedd48320f52c08ca8cd85 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f8c46c5 Fixed FTBFS