$ git clone -n https://src.fedoraproject.org/rpms/ktorrent.git /var/lib/mock/f41-build-side-1-3002362-36533/root/chroot_tmpdir/scmroot/ktorrent Cloning into '/var/lib/mock/f41-build-side-1-3002362-36533/root/chroot_tmpdir/scmroot/ktorrent'... $ git fetch origin a7f0a1914659556b65778da70d48e81767874e2a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ktorrent * [new ref] a7f0a1914659556b65778da70d48e81767874e2a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a7f0a19 24.08.2