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