$ git clone -n https://src.fedoraproject.org/rpms/ktorrent.git /var/lib/mock/f40-build-2199996-51759/root/chroot_tmpdir/scmroot/ktorrent Cloning into '/var/lib/mock/f40-build-2199996-51759/root/chroot_tmpdir/scmroot/ktorrent'... $ git fetch origin 1555e1c9c7d358686fe119c36f28d2cd6d013da1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ktorrent * [new ref] 1555e1c9c7d358686fe119c36f28d2cd6d013da1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1555e1c 24.01.85