google-gemini/gemini-cli
Ver no GitHub/clear docs dont mention that it clears context
Open
#19.239 aberto em 17 de fev. de 2026
area/agenthelp wantedkind/customer-issuepriority/p3status/bot-triaged
Métricas do repositório
- Stars
- (103.992 stars)
- Métricas de merge de PR
- (Mesclagem média 4d 2h) (55 fundiu PRs em 30d)
Description
/clear
Description: Clear the terminal screen, including the visible session history and scrollback within the CLI. The underlying session data (for history recall) might be preserved depending on the exact implementation, but the visual display is cleared.
This forgets to mention the most important part, that the context of the agent is cleared fresh so you can begin new thread without context pollution.