$ git clone -n https://src.fedoraproject.org/rpms/kpkpass.git /var/lib/mock/f42-build-863651-171722/root/chroot_tmpdir/scmroot/kpkpass Cloning into '/var/lib/mock/f42-build-863651-171722/root/chroot_tmpdir/scmroot/kpkpass'... $ git fetch origin b1cbfb56b57587c6f25d8c812723f4b39c536655:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kpkpass * [new ref] b1cbfb56b57587c6f25d8c812723f4b39c536655 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b1cbfb5 24.12.0