$ git clone -n https://src.fedoraproject.org/rpms/kf5-kidentitymanagement.git /var/lib/mock/f40-build-787071-134734/root/chroot_tmpdir/scmroot/kf5-kidentitymanagement Cloning into '/var/lib/mock/f40-build-787071-134734/root/chroot_tmpdir/scmroot/kf5-kidentitymanagement'... $ git fetch origin 354e5662cbdcac191996c3b0834c563823e38cf6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kf5-kidentitymanagement * [new ref] 354e5662cbdcac191996c3b0834c563823e38cf6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 354e566 23.08.5