$ git clone -n https://src.fedoraproject.org/rpms/esmi_ib_library.git /var/lib/mock/f40-build-805217-144738/root/chroot_tmpdir/scmroot/esmi_ib_library Cloning into '/var/lib/mock/f40-build-805217-144738/root/chroot_tmpdir/scmroot/esmi_ib_library'... $ git fetch origin aee154894a677ee3f04b7b18fa18579606beaf9e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/esmi_ib_library * [new ref] aee154894a677ee3f04b7b18fa18579606beaf9e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aee1548 Update to 3.0; Fixes: RHBZ#2260128