$ git clone -n https://src.fedoraproject.org/rpms/kidentitymanagement.git /var/lib/mock/f41-build-1021926-18041/root/chroot_tmpdir/scmroot/kidentitymanagement Cloning into '/var/lib/mock/f41-build-1021926-18041/root/chroot_tmpdir/scmroot/kidentitymanagement'... $ git fetch origin 9305546c0e950458f8bedc8585940cc7737112e8:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kidentitymanagement * [new ref] 9305546c0e950458f8bedc8585940cc7737112e8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9305546 24.05.1