$ git clone -n https://src.fedoraproject.org/rpms/anthy.git /var/lib/mock/f41-build-854825-166973/root/chroot_tmpdir/scmroot/anthy Cloning into '/var/lib/mock/f41-build-854825-166973/root/chroot_tmpdir/scmroot/anthy'... $ git fetch origin b02b7add018d57a71da3ce2b45b4a34253145801:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/anthy * [new ref] b02b7add018d57a71da3ce2b45b4a34253145801 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b02b7ad Fix an infinite loop when missing EOL in record file.