$ git clone -n https://src.fedoraproject.org/rpms/ktp-filetransfer-handler.git /var/lib/mock/f38-build-717705-96586/root/chroot_tmpdir/scmroot/ktp-filetransfer-handler Cloning into '/var/lib/mock/f38-build-717705-96586/root/chroot_tmpdir/scmroot/ktp-filetransfer-handler'... $ git fetch origin d58eebcb00f166d7ec521da8a152d7c22912c731:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ktp-filetransfer-handler * [new ref] d58eebcb00f166d7ec521da8a152d7c22912c731 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d58eebc 23.04.1