$ git clone -n https://src.fedoraproject.org/rpms/homebank.git /var/lib/mock/f40-build-793461-138985/root/chroot_tmpdir/scmroot/homebank Cloning into '/var/lib/mock/f40-build-793461-138985/root/chroot_tmpdir/scmroot/homebank'... $ git fetch origin 965f652931884478f40ecd8ecfd5c235451c78a7:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/homebank * [new ref] 965f652931884478f40ecd8ecfd5c235451c78a7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 965f652 update to homebank-5.7.4