$ git clone -n https://src.fedoraproject.org/rpms/ktorrent.git /var/lib/mock/f40-build-803140-144188/root/chroot_tmpdir/scmroot/ktorrent Cloning into '/var/lib/mock/f40-build-803140-144188/root/chroot_tmpdir/scmroot/ktorrent'... $ git fetch origin d2f30c25d3cc56fe7f59b3a118bb5afcb9543e80:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ktorrent * [new ref] d2f30c25d3cc56fe7f59b3a118bb5afcb9543e80 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d2f30c2 24.02.1